package com.sg.service.biz.app.impl;

import cn.hutool.core.bean.BeanUtil;
import cn.hutool.core.collection.CollectionUtil;
import com.sg.common.util.CommonFunctionHelper;
import com.sg.common.util.RedisUtil;
import com.sg.dto.base.app.req.*;
import com.sg.dto.biz.app.req.*;
import com.sg.dto.biz.app.res.*;
import com.sg.dto.integration.component.QueryConfItemMatchAnswerDetailComReqDto;
import com.sg.dto.integration.framework.QueryInductionRecordInfoDetailComReqDto;
import com.sg.dto.integration.framework.QueryInductionRecordInfoDetailComRespDto;
import com.sg.service.biz.app.*;
import com.sg.common.exception.Assert;
import com.wicket.okrapp.common.exception.BizException;
import com.wicket.okrapp.dal.po.mbg.*;
import com.wicket.okrcalc.integration.StandardDataService;
import com.wicket.okrcalc.integration.FwCalcTargetCycleClient;
import com.wicket.okrcalc.integration.dto.*;
import com.wicket.okrcomponent.integration.*;
import com.wicket.okrcomponent.integration.dto.*;
import com.wicket.okrframework.integration.InductionRecordService;
import com.wicket.okrframework.integration.UserService;
import org.apache.skywalking.apm.toolkit.trace.Tag;
import org.apache.skywalking.apm.toolkit.trace.Tags;
import org.apache.skywalking.apm.toolkit.trace.Trace;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import javax.annotation.Resource;
import java.util.ArrayList;
import java.util.List;
import java.util.stream.Collectors;

/**
 * @author ：
 * @version 1.0
 * @date ：
 */
@Service
public class CycleStageDataServiceImpl implements com.wicket.okrapp.biz.service.CycleStageDataService {
    @Resource
    private RedisUtil redisUtil;
    @Resource
    private MOmsTspeCycleStageDataService mOmsTspeCycleStageDataService;
    //@Resource
    //private MCustomFieldsService mCustomFieldsService;
    @Resource
    private MOmsBizAppHypertextContentService mOmsBizAppHypertextContentService;
    @Resource
    private NbCycleStageData nbCycleStageData;
    @Resource
    private MOmsEvaluationObjectTargetCycleService mOmsEvaluationObjectTargetCycleService;
    @Resource
    private MOmsTargetCyclePlanSetService mOmsTargetCyclePlanSetService;
    @Resource
    private MOmsCycleService mOmsCycleService;
    @Resource
    private UnstructuredDataService unstructuredDataService;
    @Resource
    private MOmsEvaluationFillRoleService mOmsEvaluationFillRoleService;
    @Resource
    private MOmsVirtualOrgMemberService mOmsVirtualOrgMemberService;
    @Resource
    private IndexSystemService indexSystemService;
    //@Resource
    //private MCustomFields2Service mCustomFields2Service;
    @Resource
    private PlanDataService planDataService;
    @Resource
    private InterfaceModeService interfaceModeService;
    @Resource
    private UnstructuredDataService unstructuredDataService;
    @Resource
    private TargetContentService targetContentService;
    @Resource
    private TemplateEngineService fwCompTemplateEngineClient;
    @Resource
    private TargetCycleService targetCycleService;
    @Resource
    private FwCalcTargetCycleClient fwCalcTargetCycleClient;
    @Resource
    private MOmsExecuteCycleStageService mOmsExecuteCycleStageService;
    //@Resource
    //private undefinedService undefinedService;
    @Resource
    private MessageService fwCompMessageClient;
    @Resource
    private FwCompContTagRcordClient fwCompContTagRcordClient;
    //@Resource
    //private MessageService messageService;
    @Resource
    private UserService fwBaseUserClient;
    @Resource
    private MessageService messageService;
    @Resource
    private ConfSchemeService confSchemeService;
    @Resource
    private MOmsTaskService mOmsTaskService;
    @Resource
    private ExecuteCycleService executeCycleService;
    @Resource
    private InductionRecordService inductionRecordService;
    @Resource
    private QuestionService questionService;
    @Resource
    private VirtualOrgService virtualOrgService;
    @Resource
    private TaskService taskService;
    @Resource
    private WorkTasksService workTasksService;
    @Resource
    private MOmsBasicInstanceUnstructuredRelationshipService mOmsBasicInstanceUnstructuredRelationshipService;
    @Resource
    private FwCompCycleStageDataClient fwCompCycleStageDataClient;
    @Resource
    private MOmsTargetAttributionCycleService mOmsTargetAttributionCycleService;
    @Resource
    private StandardDataService fwCalcStandardDataClient;
    @Resource
    private FwCompStatisticalDataClient fwCompStatisticalDataClient;
//@Resource
    //private MSpecMethordTableService mSpecMethordTableService;
//@Resource
    //private MessageService messageService;
//@Resource
    //private MCustomFields3Service mCustomFields3Service;

    /**
     * D3-查询阶段工作总结内容详情[3299]
     * gen by moon at 11/15/2022, 11:32:18 AM
     */
    @Trace(operationName = "D3-查询阶段工作总结内容详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryStaWorkSumConDetailRespDto queryStaWorkSumConDetail(QueryStaWorkSumConDetailReqDto reqDto) {


        OmsTspeCycleStageData omsTspeCycleStageData_1 = null;
        AddPicSingleSetDataEntryRespDto objectToDataRes_1 = null;
        OmsBizAppHypertextContent omsBizAppHypertextContent_1 = null;
//步骤0: 3-3-11查周期阶段资料详情 - queryCycleStageDataDetail
        OmsTspeCycleStageData omsTspeCycleStageData = null;
        QueryCycleStageDataDetailReq queryCycleStageDataDetailReq = new QueryCycleStageDataDetailReq();
        queryCycleStageDataDetailReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:127332_1
        if (reqDto != null) {
            queryCycleStageDataDetailReq.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:127330_1
            queryCycleStageDataDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:127331_1
        }

        /*3-3-11查周期阶段资料详情[2771]   */
        Assert.isNull(queryCycleStageDataDetailReq.getCycleStageDataId(), "D3-查询阶段工作总结内容详情-3-3-11查周期阶段资料详情-周期阶段资料记录ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getSubjectLifeCycle(), "D3-查询阶段工作总结内容详情-3-3-11查周期阶段资料详情-主体生命周期不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getSpaceId(), "D3-查询阶段工作总结内容详情-3-3-11查周期阶段资料详情-创建于空间ID不能为空", false);
        omsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataDetail(queryCycleStageDataDetailReq);
        Assert.isTrue(omsTspeCycleStageData == null || omsTspeCycleStageData.getCycleStageDataId() == null, "返回值不能为空", false);

        omsTspeCycleStageData_1 = omsTspeCycleStageData;

//步骤1: M执行图片单条转数据集 - implementPicSingleSetDataEntry
        //ModelCode: objectToData
        AddPicSingleSetDataEntryRespDto objectToDataRes = null;
        if (omsTspeCycleStageData != null) {
            AddPicSingleSetDataEntryReqDto objectToDataReq = new AddPicSingleSetDataEntryReqDto();
            if (omsTspeCycleStageData != null) {
                objectToDataReq.setDatasetField(omsTspeCycleStageData.getSummaryDataPic());//SimpleFieldAssign//sourceId:127345_1
            }

            /*M执行图片单条转数据集[2800]  用于周期阶段资料内容中查询的多个图片信息，数据库中一个字段中的信息将转换到多张图片信息的地址（数据集）供前端展示 */

            objectToDataRes = nbCycleStageData.addPicSingleSetDataEntry(objectToDataReq);


            objectToDataRes_1 = objectToDataRes;
        }

//步骤2: 3-5-02查询业务应用超文本内容详情 - queryBusAppHypertextContentDetail
        OmsBizAppHypertextContent omsBizAppHypertextContent = null;
        QueryBusAppHypertextContentDetailReq queryBusAppHypertextContentDetailReq = new QueryBusAppHypertextContentDetailReq();
        queryBusAppHypertextContentDetailReq.setReleationContTypeCode("CYCLE_STAGE_DATA");//sourceId:222849_1
        queryBusAppHypertextContentDetailReq.setHypertextType("STA_WOR_SUM_CON");//sourceId:222854_1
        if (reqDto != null) {
            queryBusAppHypertextContentDetailReq.setReleationContId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:222850_1
        }

        /*3-5-02查询业务应用超文本内容详情[3140]   */
        Assert.isNull(queryBusAppHypertextContentDetailReq.getReleationContId(), "D3-查询阶段工作总结内容详情-3-5-02查询业务应用超文本内容详情-超文本内容关联主键ID不能为空", false);
        Assert.isNull(queryBusAppHypertextContentDetailReq.getReleationContTypeCode(), "D3-查询阶段工作总结内容详情-3-5-02查询业务应用超文本内容详情-超文本内容关联类型编码不能为空", false);
        Assert.isNull(queryBusAppHypertextContentDetailReq.getHypertextType(), "D3-查询阶段工作总结内容详情-3-5-02查询业务应用超文本内容详情-超文本内容类型不能为空", false);
        omsBizAppHypertextContent = mOmsBizAppHypertextContentService.queryBusAppHypertextContentDetail(queryBusAppHypertextContentDetailReq);


        omsBizAppHypertextContent_1 = omsBizAppHypertextContent;

        QueryStaWorkSumConDetailRespDto retData = new QueryStaWorkSumConDetailRespDto();
        if (omsTspeCycleStageData_1 != null) {
            retData.setCycleStageDataId(omsTspeCycleStageData_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:127352_1
            retData.setCycleDataObjId(omsTspeCycleStageData_1.getCycleDataObjId());//SimpleFieldAssign//sourceId:127353_1
            retData.setStageData(omsTspeCycleStageData_1.getStageData());//SimpleFieldAssign//sourceId:127354_1
        }
        if (omsBizAppHypertextContent_1 != null) {
            retData.setHypertextContent(omsBizAppHypertextContent_1.getHypertextContent());//SimpleFieldAssign//sourceId:222857_1
        }
        if (objectToDataRes_1 != null) {
            retData.setPicSingleSetDataEntryList(objectToDataRes_1.getPicSingleSetDataEntryList());//list-field-assign//sourceId:127355_1
        }


        return retData;
    }

    /**
     * D3-查询周期阶段资料列表[2675]
     * gen by moon at 8/17/2023, 3:12:00 PM
     */
    @Trace(operationName = "D3-查询周期阶段资料列表")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryCycleStageDataListRespDto queryCycleStageDataList(QueryCycleStageDataListReqDto reqDto) {


        List<OmsTspeCycleStageData> listOmsTspeCycleStageData_1 = new ArrayList<>();
        List<OmsEvaluationFillRole> listOmsEvaluationFillRole_1 = new ArrayList<>();
//步骤0: 3-3-11查询周期阶段资料列表 - queryCycleStageDataList
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        QueryCycleStageDataListReq queryCycleStageDataListReq = new QueryCycleStageDataListReq();
        if (reqDto != null) {
            queryCycleStageDataListReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:441150_1
            queryCycleStageDataListReq.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:82667_1
            queryCycleStageDataListReq.setCyclePurposeTypeCode(reqDto.getCyclePurposeTypeCode());//SimpleFieldAssign//sourceId:82665_1
            queryCycleStageDataListReq.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:89269_1
            queryCycleStageDataListReq.setCycleDataObjTypeCode(reqDto.getCycleDataObjTypeCode());//SimpleFieldAssign//sourceId:82666_1
            queryCycleStageDataListReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:1113308_1
            queryCycleStageDataListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:102478_1
        }

        /*3-3-11查询周期阶段资料列表[2673]   */

        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataList(queryCycleStageDataListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsTspeCycleStageData_1 = listOmsTspeCycleStageData;

//步骤1: 3-2-06批量查询评价填报角色 - batchQueryEvaFillRole
        List<OmsEvaluationFillRole> listOmsEvaluationFillRole = new ArrayList<>();
        if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
            BatchQueryEvaFillRoleReq batchQueryEvaFillRoleReq = new BatchQueryEvaFillRoleReq();
            batchQueryEvaFillRoleReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:535630_1
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                batchQueryEvaFillRoleReq.setEvaFillRoleList(listOmsTspeCycleStageData.stream().map(item -> item.getEvaluationFillRoleId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:535625_1
            }
            if (reqDto != null) {
                batchQueryEvaFillRoleReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:535626_1
            }

            /*3-2-06批量查询评价填报角色[5501]   */
            Assert.isNull(batchQueryEvaFillRoleReq.getEvaluationTemplateId(), "D3-查询周期阶段资料列表-3-2-06批量查询评价填报角色-评价模板ID不能为空", false);
            Assert.isNull(batchQueryEvaFillRoleReq.getSubjectLifeCycle(), "D3-查询周期阶段资料列表-3-2-06批量查询评价填报角色-主体生命周期不能为空", false);
            listOmsEvaluationFillRole = mOmsEvaluationFillRoleService.batchQueryEvaFillRole(batchQueryEvaFillRoleReq)/*vcase invoke 本地 method 方法调用;*/;


            listOmsEvaluationFillRole_1 = listOmsEvaluationFillRole;
        }

        QueryCycleStageDataListRespDto retData = new QueryCycleStageDataListRespDto();
        //数据集融合  MoreListToOneSource
        if (listOmsTspeCycleStageData_1 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1) && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1)) {
            for (OmsTspeCycleStageData omsTspeCycleStageData : listOmsTspeCycleStageData_1) {
                CycleStageDataDto retElm = new CycleStageDataDto();
                retElm.setCycleStageDataId(omsTspeCycleStageData.getCycleStageDataId());//SimpleFieldAssign//sourceId:49965_2
                retElm.setStageContentType(omsTspeCycleStageData.getStageContentType());//SimpleFieldAssign//sourceId:49966_2
                retElm.setStageData(omsTspeCycleStageData.getStageData());//SimpleFieldAssign//sourceId:49967_2
                retElm.setCreateInductionId(omsTspeCycleStageData.getCreateInductionId());//SimpleFieldAssign//sourceId:137700_2
                retElm.setOperateTime(omsTspeCycleStageData.getOperateTime());//SimpleFieldAssign//sourceId:226176_2
                retElm.setCreateTime(omsTspeCycleStageData.getCreateTime());//SimpleFieldAssign//sourceId:137703_2
                retElm.setEvaluationFillRoleId(omsTspeCycleStageData.getEvaluationFillRoleId());//SimpleFieldAssign//sourceId:137666_2
                retData.getCycleStageDataList().add(retElm);
                if (listOmsEvaluationFillRole_1 != null && !CollectionUtil.isEmpty(listOmsEvaluationFillRole_1)) {
                    for (OmsEvaluationFillRole omsEvaluationFillRole : listOmsEvaluationFillRole_1) {
                        if (omsEvaluationFillRole.getEvaluationFillRoleId().equals(omsTspeCycleStageData.getEvaluationFillRoleId())) {
                            retElm.setRoleCode(omsEvaluationFillRole.getRoleCode());//SimpleFieldAssign//sourceId:137694_2
                            retElm.setRoleName(omsEvaluationFillRole.getRoleName());//SimpleFieldAssign//sourceId:137695_2
                        }
                    }
                }

            }
        }//sourceId:89268_1


        return retData;
    }

    /**
     * D3-3新增周期阶段资料(公共)[3408]
     * gen by moon at 11/2/2024, 8:19:03 PM
     */
    @Trace(operationName = "D3-3新增周期阶段资料(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddCycleStageDataComRespDto addCycleStageDataCom(AddCycleStageDataComReqDto reqDto) {


        ImplementParentSubMidCycleTypeComRespDto implementParentSubMidCycleTypeComRespDto_1 = null;
        OmsTspeCycleStageData omsTspeCycleStageData_1 = null;
        String string_1 = null;
//virtualUsage 3-3-09查询被评对象目标周期是否是子周期  8095
        OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle = null;
        QueryEvaObjTargetCyclePlatformDetailReq queryEvaObjTargetCyclePlatformDetailReq = new QueryEvaObjTargetCyclePlatformDetailReq();
        queryEvaObjTargetCyclePlatformDetailReq.setIsSubCycle("TRUE");//sourceId:136917_1_8095
        queryEvaObjTargetCyclePlatformDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:136914_1_8095
        if (reqDto != null) {
            queryEvaObjTargetCyclePlatformDetailReq.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:136913_1_8095
            queryEvaObjTargetCyclePlatformDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:136915_1_8095
        }

        /*3-3-09查询被评对象目标周期是否是子周期[3176] 查询当前被评对象目标周期ID是否是工作子周期，如果是可以向下继续执行判断当前的子周期是否被验收掉。  */
        Assert.isNull(queryEvaObjTargetCyclePlatformDetailReq.getEvaObjTargetCycleId(), "D3-3新增周期阶段资料(公共)-3-3-09查询被评对象目标周期是否是子周期-被评对象目标周期ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCyclePlatformDetailReq.getIsSubCycle(), "D3-3新增周期阶段资料(公共)-3-3-09查询被评对象目标周期是否是子周期-是否子周期不能为空", false);
        Assert.isNull(queryEvaObjTargetCyclePlatformDetailReq.getSubjectLifeCycle(), "D3-3新增周期阶段资料(公共)-3-3-09查询被评对象目标周期是否是子周期-主体生命周期不能为空", false);
        Assert.isNull(queryEvaObjTargetCyclePlatformDetailReq.getSpaceId(), "D3-3新增周期阶段资料(公共)-3-3-09查询被评对象目标周期是否是子周期-创建于空间ID不能为空", false);
        omsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCyclePlatformDetail(queryEvaObjTargetCyclePlatformDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage 3-3-07查询执行周期阶段详情  45558
        OmsExecuteCycleStage omsExecuteCycleStage = null;
        QueryExecuteCycleStageDetailReq queryExecuteCycleStageDetailReq = new QueryExecuteCycleStageDetailReq();
        queryExecuteCycleStageDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1042823_1_45558
        if (reqDto != null) {
            queryExecuteCycleStageDetailReq.setExecuteCycleStageId(reqDto.getExecuteCycleStageId());//SimpleFieldAssign//sourceId:1042821_1_45558
            queryExecuteCycleStageDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1042822_1_45558
        }

        /*3-3-07查询执行周期阶段详情[2429]   */
        Assert.isNull(queryExecuteCycleStageDetailReq.getExecuteCycleStageId(), "D3-3新增周期阶段资料(公共)-3-3-07查询执行周期阶段详情-执行周期阶段ID不能为空", false);
        Assert.isNull(queryExecuteCycleStageDetailReq.getEvaluationTemplateId(), "D3-3新增周期阶段资料(公共)-3-3-07查询执行周期阶段详情-评价模板ID不能为空", false);
        Assert.isNull(queryExecuteCycleStageDetailReq.getSubjectLifeCycle(), "D3-3新增周期阶段资料(公共)-3-3-07查询执行周期阶段详情-主体生命周期不能为空", false);
        omsExecuteCycleStage = mOmsExecuteCycleStageService.queryExecuteCycleStageDetail(queryExecuteCycleStageDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage D4-执行父子中周期类型分析  38125
        ImplementParentSubMidCycleTypeComRespDto implementParentSubMidCycleTypeComRespDto = null;
        if (omsExecuteCycleStage != null) {
            ImplementParentSubMidCycleTypeComReqDto implementParentSubMidCycleTypeComReqDto = new ImplementParentSubMidCycleTypeComReqDto();
            if (omsExecuteCycleStage != null) {
                implementParentSubMidCycleTypeComReqDto.setIsFatherCycle(omsExecuteCycleStage.getIsFatherCycle());//SimpleFieldAssign//sourceId:862078_1_38125
                implementParentSubMidCycleTypeComReqDto.setIsMetaphase(omsExecuteCycleStage.getIsMetaphase());//SimpleFieldAssign//sourceId:862080_1_38125
                implementParentSubMidCycleTypeComReqDto.setIsSubCycle(omsExecuteCycleStage.getIsSubCycle());//SimpleFieldAssign//sourceId:862079_1_38125
                implementParentSubMidCycleTypeComReqDto.setIsProcessCycleStage(omsExecuteCycleStage.getIsProcessCycleStage());//SimpleFieldAssign//sourceId:862081_1_38125
                implementParentSubMidCycleTypeComReqDto.setIsDefinedExecuteCycleStage(omsExecuteCycleStage.getIsDefinedExecuteCycleStage());//SimpleFieldAssign//sourceId:862082_1_38125
            }

            /*D4-执行父子中周期类型分析[5997]   */
            Assert.isNull(implementParentSubMidCycleTypeComReqDto.getIsFatherCycle(), "D3-3新增周期阶段资料(公共)-D4-执行父子中周期类型分析-是否父周期不能为空", false);
            Assert.isNull(implementParentSubMidCycleTypeComReqDto.getIsMetaphase(), "D3-3新增周期阶段资料(公共)-D4-执行父子中周期类型分析-是否中期不能为空", false);
            Assert.isNull(implementParentSubMidCycleTypeComReqDto.getIsSubCycle(), "D3-3新增周期阶段资料(公共)-D4-执行父子中周期类型分析-是否子周期不能为空", false);
            implementParentSubMidCycleTypeComRespDto = fwCalcTargetCycleClient.implementParentSubMidCycleTypeCom(implementParentSubMidCycleTypeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            implementParentSubMidCycleTypeComRespDto_1 = implementParentSubMidCycleTypeComRespDto;
        }
//virtualUsage D2生成周期更新切片(公共)  70394
        GenerateCycleUpdateSliceComRespDto generateCycleUpdateSliceComRespDto = null;
        if (implementParentSubMidCycleTypeComRespDto != null) {
            GenerateCycleUpdateSliceComReqDto generateCycleUpdateSliceComReqDto = new GenerateCycleUpdateSliceComReqDto();
            if (implementParentSubMidCycleTypeComRespDto != null) {
                generateCycleUpdateSliceComReqDto.setParentSubMidCycleType(implementParentSubMidCycleTypeComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1879434_1_70394
            }
            if (reqDto != null) {
                generateCycleUpdateSliceComReqDto.setCycleStartTime(reqDto.getCycleStartTime());//SimpleFieldAssign//sourceId:1879436_1_70394
                generateCycleUpdateSliceComReqDto.setCycleEndTime(reqDto.getCycleEndTime());//SimpleFieldAssign//sourceId:1879437_1_70394
                generateCycleUpdateSliceComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1879435_1_70394
            }

            /*D2生成周期更新切片(公共)[8571]   */
            Assert.isNull(generateCycleUpdateSliceComReqDto.getParentSubMidCycleType(), "D3-3新增周期阶段资料(公共)-D2生成周期更新切片(公共)-父子中周期类型不能为空", false);
            Assert.isNull(generateCycleUpdateSliceComReqDto.getCycleStartTime(), "D3-3新增周期阶段资料(公共)-D2生成周期更新切片(公共)-周期开始时间不能为空", false);
            Assert.isNull(generateCycleUpdateSliceComReqDto.getCycleEndTime(), "D3-3新增周期阶段资料(公共)-D2生成周期更新切片(公共)-周期结束时间不能为空", false);
            Assert.isNull(generateCycleUpdateSliceComReqDto.getEvaObjTargetCycleId(), "D3-3新增周期阶段资料(公共)-D2生成周期更新切片(公共)-被评对象目标周期ID不能为空", false);
            generateCycleUpdateSliceComRespDto = fwCompCycleStageDataClient.generateCycleUpdateSliceCom(generateCycleUpdateSliceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage 3-3-11查周期阶段资料详情  49882
        OmsTspeCycleStageData omsTspeCycleStageData = null;
        QueryCycleStageDataDetailReq queryCycleStageDataDetailReq = new QueryCycleStageDataDetailReq();
        queryCycleStageDataDetailReq.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:1169631_1_49882
        queryCycleStageDataDetailReq.setIsArchive("FALSE");//sourceId:1169633_1_49882
        if (reqDto != null) {
            queryCycleStageDataDetailReq.setCycleDataObjId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1169632_1_49882
            queryCycleStageDataDetailReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1169635_1_49882
            queryCycleStageDataDetailReq.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1169634_1_49882
        }

        /*3-3-11查周期阶段资料详情[2771]   */
        Assert.isNull(queryCycleStageDataDetailReq.getCycleDataObjTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11查周期阶段资料详情-周期资料归属对象类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getCycleDataObjId(), "D3-3新增周期阶段资料(公共)-3-3-11查周期阶段资料详情-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getCycleId(), "D3-3新增周期阶段资料(公共)-3-3-11查周期阶段资料详情-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getIsArchive(), "D3-3新增周期阶段资料(公共)-3-3-11查周期阶段资料详情-是否存档不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getThemeContentId(), "D3-3新增周期阶段资料(公共)-3-3-11查周期阶段资料详情-主题内容ID不能为空", false);
        omsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataDetail(queryCycleStageDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsTspeCycleStageData_1 = omsTspeCycleStageData;
        if ((omsEvaluationObjectTargetCycle != null && omsTspeCycleStageData == null)) {
            //if((3-3-09查询被评对象目标周期是否是子周期（区分父中周期）.出参 值不等于空  and 3-3-11查周期阶段资料详情（查询是否已生成周期阶段资料）.出参 值等于空 ))  8096

            ImplementAnalyseIsWorkCycleComRespDto implementAnalyseIsWorkCycleComRespDto = null;
            ImplementAnalyseIsWorkCycleComReqDto implementAnalyseIsWorkCycleComReqDto = new ImplementAnalyseIsWorkCycleComReqDto();
            if (reqDto != null) {
                implementAnalyseIsWorkCycleComReqDto.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:827318_1_73160
                implementAnalyseIsWorkCycleComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:827319_1_73160
                implementAnalyseIsWorkCycleComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:827320_1_73160
            }

            /*D3执行分析是否过程周期[6270]   */
            Assert.isNull(implementAnalyseIsWorkCycleComReqDto.getEvaObjTargetCycleId(), "D3-3新增周期阶段资料(公共)-D3执行分析是否过程周期-被评对象目标周期ID不能为空", false);
            Assert.isNull(implementAnalyseIsWorkCycleComReqDto.getCycleId(), "D3-3新增周期阶段资料(公共)-D3执行分析是否过程周期-周期ID不能为空", false);
            Assert.isNull(implementAnalyseIsWorkCycleComReqDto.getEvaluationTemplateId(), "D3-3新增周期阶段资料(公共)-D3执行分析是否过程周期-冗余评价模板ID不能为空", false);
            implementAnalyseIsWorkCycleComRespDto = implementAnalyseIsWorkCycleCom(implementAnalyseIsWorkCycleComReqDto)/*vcase invoke 同服务,同domain*/;


            String string = null;
            if (implementParentSubMidCycleTypeComRespDto != null && omsEvaluationObjectTargetCycle != null && generateCycleUpdateSliceComRespDto != null && implementAnalyseIsWorkCycleComRespDto != null) {
                OmsTspeCycleStageData omsTspeCycleStageData_2 = new OmsTspeCycleStageData();
                omsTspeCycleStageData_2.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:136710_1_73161
                omsTspeCycleStageData_2.setStageContentType("STA_WOR_SUM_CON");//sourceId:136720_1_73161
                omsTspeCycleStageData_2.setIsInputData("TRUE");//sourceId:136711_1_73161
                omsTspeCycleStageData_2.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:136712_1_73161
                omsTspeCycleStageData_2.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:136713_1_73161
                omsTspeCycleStageData_2.setCrontabOriginatorTypeCode("DISPATCH_ADD_REPORT_TASK");//sourceId:136722_1_73161
                omsTspeCycleStageData_2.setIsPlanReceptionCycle("FALSE");//sourceId:136830_1_73161
                omsTspeCycleStageData_2.setIsActualReceptionCycle("FALSE");//sourceId:1879433_1_73161
                omsTspeCycleStageData_2.setIsDoneEvaluate("FALSE");//sourceId:1469140_1_73161
                omsTspeCycleStageData_2.setIsDoneFilleout("FALSE");//sourceId:1469141_1_73161
                omsTspeCycleStageData_2.setQuestionDataTypeCode("NORMAL_DATA");//sourceId:1925498_1_73161
                omsTspeCycleStageData_2.setIsHistoryProblemData("FALSE");//sourceId:1927217_1_73161
                omsTspeCycleStageData_2.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:1072910_1_73161
                omsTspeCycleStageData_2.setSubjectLifeCycle("EDITING");//sourceId:136718_1_73161
                if (reqDto != null) {
                    omsTspeCycleStageData_2.setCycleDataObjId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:136714_1_73161
                    omsTspeCycleStageData_2.setCrontabOriginatorId(reqDto.getCrontabOriginatorId());//SimpleFieldAssign//sourceId:136716_1_73161
                    omsTspeCycleStageData_2.setBelongToContentTypeCode(reqDto.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:136724_1_73161
                    omsTspeCycleStageData_2.setBelongToContentId(reqDto.getBelongToContentId());//SimpleFieldAssign//sourceId:136725_1_73161
                    omsTspeCycleStageData_2.setEvaObjTargetCycleCode(reqDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:565646_1_73161
                    omsTspeCycleStageData_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:136723_1_73161
                    omsTspeCycleStageData_2.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:136730_1_73161
                    omsTspeCycleStageData_2.setCycleStartTime(reqDto.getCycleStartTime());//SimpleFieldAssign//sourceId:822146_1_73161
                    omsTspeCycleStageData_2.setCycleEndTime(reqDto.getCycleEndTime());//SimpleFieldAssign//sourceId:822147_1_73161
                    omsTspeCycleStageData_2.setCycleTypeCode(reqDto.getCycleTypeCode());//SimpleFieldAssign//sourceId:2024404_1_73161
                    omsTspeCycleStageData_2.setActualStartTime(reqDto.getActualStartTime());//SimpleFieldAssign//sourceId:136726_1_73161
                    omsTspeCycleStageData_2.setFilledByInductionId(reqDto.getFilledByInductionId());//SimpleFieldAssign//sourceId:136715_1_73161
                    omsTspeCycleStageData_2.setEvaluationFillRoleId(reqDto.getEvaluationFillRoleId());//SimpleFieldAssign//sourceId:136717_1_73161
                    omsTspeCycleStageData_2.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1072911_1_73161
                }
                if (implementParentSubMidCycleTypeComRespDto != null) {
                    omsTspeCycleStageData_2.setParentSubMidCycleType(implementParentSubMidCycleTypeComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1192148_1_73161
                }
                if (omsEvaluationObjectTargetCycle != null) {
                    omsTspeCycleStageData_2.setParentEvaObjTargetCycleId(omsEvaluationObjectTargetCycle.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:2024405_1_73161
                }
                if (generateCycleUpdateSliceComRespDto != null) {
                    omsTspeCycleStageData_2.setWorkCycleUpdateSlice(generateCycleUpdateSliceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:822163_1_73161
                }
                if (implementAnalyseIsWorkCycleComRespDto != null) {
                    omsTspeCycleStageData_2.setIsProcessCycleStage(implementAnalyseIsWorkCycleComRespDto.getIsProcessCycleStage());//SimpleFieldAssign//sourceId:827323_1_73161
                }

                /*3-3-11新增周期阶段资料[2420]   */
                Assert.isNull(omsTspeCycleStageData_2.getCycleDataTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期阶段资料类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getStageContentType(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-内容性质类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getIsInputData(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否人工输入内容不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getCyclePurposeTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期资料用途类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getCycleDataObjTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期资料归属对象类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getCycleDataObjId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期资料归属对象ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getCrontabOriginatorId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-冗余定时任务发起对象ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getCrontabOriginatorTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-定时任务发起对象类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getBelongToContentTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-归属内容类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getBelongToContentId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-归属内容ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getEvaObjTargetCycleCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-被评对象目标周期标识不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getCycleStartTime(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期开始时间不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getCycleEndTime(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期结束时间不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getCycleTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期类型标识不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getWorkCycleUpdateSlice(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-工作周期更新切片不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getIsProcessCycleStage(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否过程周期阶段不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getActualStartTime(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-任务实际开始时间不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getIsPlanReceptionCycle(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否计划验收周期不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getIsActualReceptionCycle(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否实际验收周期不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getIsDoneEvaluate(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否完成评价工作不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getIsDoneFilleout(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否完成填报工作不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getQuestionDataTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-问题数据类型不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getIsHistoryProblemData(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否历史问题数据不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getFilledByInductionId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-内容责任人就职记录ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getEvaluationFillRoleId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-角色标识不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getThemeContentId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-主题内容ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getThemeContentTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-主题内容类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_2.getSubjectLifeCycle(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-主体生命周期不能为空", false);
                string = mOmsTspeCycleStageDataService.addCycleStageData(omsTspeCycleStageData_2)/*vcase invoke 本地 method 方法调用;*/;


                string_1 = string;
            }
        } else if ((omsEvaluationObjectTargetCycle == null && omsTspeCycleStageData == null)) {
            //elseif((3-3-09查询被评对象目标周期是否是子周期（区分父中周期）.出参 值等于空  and 3-3-11查周期阶段资料详情（查询是否已生成周期阶段资料）.出参 值等于空 ))  8152

//ModelCode: receptionService
            ImplementAcceptFieldRespDto receptionServiceRes = null;
            ImplementAcceptFieldReqDto receptionServiceReq = new ImplementAcceptFieldReqDto();
            receptionServiceReq.setTureOrFalse("FALSE");//sourceId:822150_1_36769

            /*M3约定为【工作周期】[6100]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getTureOrFalse(), "D3-3新增周期阶段资料(公共)-M3约定为【工作周期】-是否不能为空", false);
            receptionServiceRes = nbCycleStageData.implementAcceptField(receptionServiceReq);


            String string_2 = null;
            if (implementParentSubMidCycleTypeComRespDto != null && omsExecuteCycleStage != null && generateCycleUpdateSliceComRespDto != null) {
                OmsTspeCycleStageData omsTspeCycleStageData_3 = new OmsTspeCycleStageData();
                omsTspeCycleStageData_3.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:136710_1_8155
                omsTspeCycleStageData_3.setStageContentType("STA_WOR_SUM_CON");//sourceId:136720_1_8155
                omsTspeCycleStageData_3.setIsInputData("TRUE");//sourceId:136711_1_8155
                omsTspeCycleStageData_3.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:136712_1_8155
                omsTspeCycleStageData_3.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:136713_1_8155
                omsTspeCycleStageData_3.setCrontabOriginatorTypeCode("DISPATCH_ADD_REPORT_TASK");//sourceId:136722_1_8155
                omsTspeCycleStageData_3.setIsPlanReceptionCycle("FALSE");//sourceId:136830_1_8155
                omsTspeCycleStageData_3.setIsActualReceptionCycle("FALSE");//sourceId:1879433_1_8155
                omsTspeCycleStageData_3.setIsDoneEvaluate("FALSE");//sourceId:1469140_1_8155
                omsTspeCycleStageData_3.setIsDoneFilleout("FALSE");//sourceId:1469141_1_8155
                omsTspeCycleStageData_3.setQuestionDataTypeCode("NORMAL_DATA");//sourceId:1925498_1_8155
                omsTspeCycleStageData_3.setIsHistoryProblemData("FALSE");//sourceId:1927217_1_8155
                omsTspeCycleStageData_3.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:1072910_1_8155
                omsTspeCycleStageData_3.setSubjectLifeCycle("EDITING");//sourceId:136718_1_8155
                if (reqDto != null) {
                    omsTspeCycleStageData_3.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:136714_1_8155
                    omsTspeCycleStageData_3.setCrontabOriginatorId(reqDto.getCrontabOriginatorId());//SimpleFieldAssign//sourceId:136716_1_8155
                    omsTspeCycleStageData_3.setBelongToContentTypeCode(reqDto.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:136724_1_8155
                    omsTspeCycleStageData_3.setBelongToContentId(reqDto.getBelongToContentId());//SimpleFieldAssign//sourceId:136725_1_8155
                    omsTspeCycleStageData_3.setEvaObjTargetCycleCode(reqDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:565646_1_8155
                    omsTspeCycleStageData_3.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:136723_1_8155
                    omsTspeCycleStageData_3.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:136730_1_8155
                    omsTspeCycleStageData_3.setCycleStartTime(reqDto.getCycleStartTime());//SimpleFieldAssign//sourceId:822146_1_8155
                    omsTspeCycleStageData_3.setCycleEndTime(reqDto.getCycleEndTime());//SimpleFieldAssign//sourceId:822147_1_8155
                    omsTspeCycleStageData_3.setActualStartTime(reqDto.getActualStartTime());//SimpleFieldAssign//sourceId:136726_1_8155
                    omsTspeCycleStageData_3.setFilledByInductionId(reqDto.getFilledByInductionId());//SimpleFieldAssign//sourceId:136715_1_8155
                    omsTspeCycleStageData_3.setEvaluationFillRoleId(reqDto.getEvaluationFillRoleId());//SimpleFieldAssign//sourceId:136717_1_8155
                    omsTspeCycleStageData_3.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1072911_1_8155
                }
                if (implementParentSubMidCycleTypeComRespDto != null) {
                    omsTspeCycleStageData_3.setParentSubMidCycleType(implementParentSubMidCycleTypeComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1192148_1_8155
                }
                if (omsEvaluationObjectTargetCycle != null) {
                    omsTspeCycleStageData_3.setParentEvaObjTargetCycleId(omsEvaluationObjectTargetCycle.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:2024405_1_8155
                }
                if (omsExecuteCycleStage != null) {
                    omsTspeCycleStageData_3.setCycleTypeCode(omsExecuteCycleStage.getCycleTypeCode());//SimpleFieldAssign//sourceId:2024404_1_8155
                }
                if (generateCycleUpdateSliceComRespDto != null) {
                    omsTspeCycleStageData_3.setWorkCycleUpdateSlice(generateCycleUpdateSliceComRespDto.getObjectName());//SimpleFieldAssign//sourceId:822163_1_8155
                }
                if (receptionServiceRes != null) {
                    omsTspeCycleStageData_3.setIsProcessCycleStage(receptionServiceRes.getTureOrFalse());//SimpleFieldAssign//sourceId:827323_1_8155
                }

                /*3-3-11新增周期阶段资料[2420]   */
                Assert.isNull(omsTspeCycleStageData_3.getCycleDataTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期阶段资料类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getStageContentType(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-内容性质类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getIsInputData(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否人工输入内容不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getCyclePurposeTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期资料用途类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getCycleDataObjTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期资料归属对象类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getCycleDataObjId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期资料归属对象ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getCrontabOriginatorId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-冗余定时任务发起对象ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getCrontabOriginatorTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-定时任务发起对象类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getBelongToContentTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-归属内容类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getBelongToContentId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-归属内容ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getEvaObjTargetCycleCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-被评对象目标周期标识不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getCycleStartTime(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期开始时间不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getCycleEndTime(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期结束时间不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getCycleTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-周期类型标识不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getWorkCycleUpdateSlice(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-工作周期更新切片不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getIsProcessCycleStage(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否过程周期阶段不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getActualStartTime(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-任务实际开始时间不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getIsPlanReceptionCycle(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否计划验收周期不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getIsActualReceptionCycle(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否实际验收周期不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getIsDoneEvaluate(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否完成评价工作不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getIsDoneFilleout(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否完成填报工作不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getQuestionDataTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-问题数据类型不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getIsHistoryProblemData(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-是否历史问题数据不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getFilledByInductionId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-内容责任人就职记录ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getEvaluationFillRoleId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-角色标识不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getThemeContentId(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-主题内容ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getThemeContentTypeCode(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-主题内容类型编码不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getSubjectLifeCycle(), "D3-3新增周期阶段资料(公共)-3-3-11新增周期阶段资料-主体生命周期不能为空", false);
                string_2 = mOmsTspeCycleStageDataService.addCycleStageData(omsTspeCycleStageData_3)/*vcase invoke 本地 method 方法调用;*/;


                string_1 = string_2;
            }
        }
        AddCycleStageDataComRespDto retData = new AddCycleStageDataComRespDto();
        if (omsTspeCycleStageData_1 != null) {
            retData.setCycleStageDataId(omsTspeCycleStageData_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:137191_1
        }
        if (string_1 != null) {
            retData.setCycleStageDataId(string_1);//SimpleFieldAssign//sourceId:137191_1
        }
        if (implementParentSubMidCycleTypeComRespDto_1 != null) {
            retData.setParentSubMidCycleType(implementParentSubMidCycleTypeComRespDto_1.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1995701_1
        }


        return retData;
    }

    /**
     * D3-3更新周期阶段资料[3154]
     * gen by moon at 10/26/2022, 12:39:02 AM
     */
    @Trace(operationName = "D3-3更新周期阶段资料")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public RefreshCycleStageDataRespDto refreshCycleStageData(RefreshCycleStageDataReqDto reqDto) {


        //步骤0: 3-3-11查周期阶段资料详情 - queryCycleStageDataDetail
        OmsTspeCycleStageData omsTspeCycleStageData = null;
        QueryCycleStageDataDetailReq queryCycleStageDataDetailReq = new QueryCycleStageDataDetailReq();
        if (reqDto != null) {
            queryCycleStageDataDetailReq.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:113237_1
        }

        /*3-3-11查周期阶段资料详情[2771]   */
        Assert.isNull(queryCycleStageDataDetailReq.getCycleStageDataId(), "D3-3更新周期阶段资料-3-3-11查周期阶段资料详情-周期阶段资料记录ID不能为空", false);
        omsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataDetail(queryCycleStageDataDetailReq);


//步骤1: M3-截取字符串前N个字符 - addCutString
        //ModelCode: cutString
        AddCutStringRespDto cutStringRes = null;
        if (omsTspeCycleStageData != null) {
            AddCutStringReqDto cutStringReq = new AddCutStringReqDto();
            if (omsTspeCycleStageData != null) {
                cutStringReq.setOriginalString(omsTspeCycleStageData.getStageData());//SimpleFieldAssign//sourceId:113215_1
            }

            /*M3-截取字符串前N个字符[2927]  入参字符串A，数值B。用于从字符串A中截取前B个字符 */
            Assert.isNull(cutStringReq.getOriginalString(), "D3-3更新周期阶段资料-M3-截取字符串前N个字符-原字符串不能为空", false);
            cutStringRes = nbCycleStageData.addCutString(cutStringReq);


        }

//步骤2: 3-3-11修改周期阶段资料 - updateCycleStageData
        boolean bOOLEAN;
        OmsTspeCycleStageData omsTspeCycleStageData_2 = new OmsTspeCycleStageData();
        omsTspeCycleStageData_2.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:113221_1
        omsTspeCycleStageData_2.setReleaseInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:113222_1
        omsTspeCycleStageData_2.setReleaseTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:113223_1
        if (reqDto != null) {
            omsTspeCycleStageData_2.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:113217_1
        }
        if (cutStringRes != null) {
            omsTspeCycleStageData_2.setTextSummaryData(cutStringRes.getCutString());//SimpleFieldAssign//sourceId:113220_1
        }

        /*3-3-11修改周期阶段资料（阶段工作总结）[2704]   */
        Assert.isNull(omsTspeCycleStageData_2.getCycleStageDataId(), "D3-3更新周期阶段资料-3-3-11修改周期阶段资料（阶段工作总结）-周期阶段资料记录ID不能为空", false);
        Assert.isNull(omsTspeCycleStageData_2.getTextSummaryData(), "D3-3更新周期阶段资料-3-3-11修改周期阶段资料（阶段工作总结）-资料文字概要不能为空", false);
        Assert.isNull(omsTspeCycleStageData_2.getSubjectLifeCycle(), "D3-3更新周期阶段资料-3-3-11修改周期阶段资料（阶段工作总结）-主体生命周期不能为空", false);
        Assert.isNull(omsTspeCycleStageData_2.getReleaseInductionId(), "D3-3更新周期阶段资料-3-3-11修改周期阶段资料（阶段工作总结）-发布人就职记录ID不能为空", false);
        Assert.isNull(omsTspeCycleStageData_2.getReleaseTime(), "D3-3更新周期阶段资料-3-3-11修改周期阶段资料（阶段工作总结）-发布时间不能为空", false);
        bOOLEAN = mOmsTspeCycleStageDataService.updateCycleStageData(omsTspeCycleStageData_2);


//步骤3: 3-3-11查询周期阶段资料列表 - queryCycleStageDataList
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        QueryCycleStageDataListReq queryCycleStageDataListReq = new QueryCycleStageDataListReq();
        queryCycleStageDataListReq.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:131735_1
        queryCycleStageDataListReq.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:131731_1
        queryCycleStageDataListReq.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:131734_1
        queryCycleStageDataListReq.setSubjectLifeCycle("EDITING");//sourceId:131738_1
        if (reqDto != null) {
            queryCycleStageDataListReq.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:131736_1
        }

        /*3-3-11查询周期阶段资料列表[2673]   */
        Assert.isNull(queryCycleStageDataListReq.getCycleDataObjId(), "D3-3更新周期阶段资料-3-3-11查询周期阶段资料列表-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCycleDataObjTypeCode(), "D3-3更新周期阶段资料-3-3-11查询周期阶段资料列表-周期资料归属对象类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCycleDataTypeCode(), "D3-3更新周期阶段资料-3-3-11查询周期阶段资料列表-周期阶段资料类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCyclePurposeTypeCode(), "D3-3更新周期阶段资料-3-3-11查询周期阶段资料列表-周期资料用途类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getSubjectLifeCycle(), "D3-3更新周期阶段资料-3-3-11查询周期阶段资料列表-主体生命周期不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataList(queryCycleStageDataListReq);


//步骤4: 3-3-11批量修改周期阶段资料 - batchUpdateCycleStageData
        boolean bOOLEAN_1;
        if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
            List<OmsTspeCycleStageData> listOmsTspeCycleStageData_2 = new ArrayList<>();
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                listOmsTspeCycleStageData_2 = listOmsTspeCycleStageData.stream().map(item -> {
                    OmsTspeCycleStageData elm = BeanUtil.toBean(item, OmsTspeCycleStageData.class);
                    elm.setSubjectLifeCycle("CURRENTLY_VALID");
                    elm.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID
                    elm.setReleaseInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID
                    elm.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME
                    elm.setReleaseTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME

                    return elm;
                }).collect(Collectors.toList());//objList-to-objLists//sourceId:131726_1
            }

            /*3-3-11批量修改周期阶段资料（问题/总结）[3342]   */

            bOOLEAN_1 = mOmsTspeCycleStageDataService.batchUpdateCycleStageData(listOmsTspeCycleStageData_2);


        }

//步骤5: D2-7批量修改文档(公共) - batchUpdateDocumentCom
        BatchUpdateDocumentComRespDto batchUpdateDocumentComRespDto = null;
        BatchUpdateDocumentComReqDto batchUpdateDocumentComReqDto = new BatchUpdateDocumentComReqDto();
        if (reqDto != null) {
            //simpleList-to-objLists
            for (String item : reqDto.getBusAppDocRelaList()) {
                com.wicket.okrcomponent.integration.dto.DocumentDto oneItem = new com.wicket.okrcomponent.integration.dto.DocumentDto();
                oneItem.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:66159_2
                oneItem.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:66161_2
                if (reqDto != null) {
                    oneItem.setUnstructuredDataId(item);//SimpleFieldAssign//sourceId:66157_2
                }

                batchUpdateDocumentComReqDto.getDocumentList().add(oneItem);
            }//sourceId:131647_1
        }

        /*D2-7批量修改文档(公共)[3339]   */

        batchUpdateDocumentComRespDto = unstructuredDataService.batchUpdateDocumentCom(batchUpdateDocumentComReqDto).getData();


//步骤6: D2-批量查询文档列表(公共) - batchQueryDocumentCom
        BatchQueryDocumentComRespDto batchQueryDocumentComRespDto = null;
        BatchQueryDocumentComReqDto batchQueryDocumentComReqDto = new BatchQueryDocumentComReqDto();
        if (reqDto != null) {
            batchQueryDocumentComReqDto.setDocumentList(reqDto.getBusAppDocRelaList());//list-field-assign//sourceId:135636_1
        }

        /*D2-批量查询文档列表(公共)[2670]   */

        batchQueryDocumentComRespDto = unstructuredDataService.batchQueryDocumentCom(batchQueryDocumentComReqDto).getData();


//步骤7: D2-7批量查询文件夹(公共) - batchQueryDataFolderCom
        BatchQueryDataFolderComRespDto batchQueryDataFolderComRespDto = null;
        if (batchQueryDocumentComRespDto != null) {
            BatchQueryDataFolderComReqDto batchQueryDataFolderComReqDto = new BatchQueryDataFolderComReqDto();
            batchQueryDataFolderComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:135673_1
            if (batchQueryDocumentComRespDto != null) {
                batchQueryDataFolderComReqDto.setDataFolderList(batchQueryDocumentComRespDto.getDocumentList().stream().map(item -> item.getUnstructuredDataFolderId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:135671_1
            }

            /*D2-7批量查询文件夹(公共)[3398]   */
            Assert.isNull(batchQueryDataFolderComReqDto.getSpaceId(), "D3-3更新周期阶段资料-D2-7批量查询文件夹(公共)-创建于空间ID不能为空", false);
            batchQueryDataFolderComRespDto = unstructuredDataService.batchQueryDataFolderCom(batchQueryDataFolderComReqDto).getData();


        }

//步骤8: D2-7批量修改文件夹(公共) - batchUpdateDataFolderCom
        BatchUpdateDataFolderComRespDto batchUpdateDataFolderComRespDto = null;
        if (batchQueryDataFolderComRespDto != null) {
            BatchUpdateDataFolderComReqDto batchUpdateDataFolderComReqDto = new BatchUpdateDataFolderComReqDto();
            if (batchQueryDataFolderComRespDto != null) {
                //simpleList-to-objLists
                for (String item : batchQueryDataFolderComRespDto.getDataFolderList()) {
                    DataFolderDto oneItem = new DataFolderDto();
                    oneItem.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:67066_2
                    oneItem.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:67068_2
                    if (batchQueryDataFolderComRespDto != null) {
                        oneItem.setUnstructuredDataFolderId(item);//SimpleFieldAssign//sourceId:67064_2
                    }

                    batchUpdateDataFolderComReqDto.getDataFolderList().add(oneItem);
                }//sourceId:135631_1
            }

            /*D2-7批量修改文件夹(公共)[3396]   */

            batchUpdateDataFolderComRespDto = unstructuredDataService.batchUpdateDataFolderCom(batchUpdateDataFolderComReqDto).getData();


        }

        RefreshCycleStageDataRespDto retData = new RefreshCycleStageDataRespDto();


        return retData;
    }

    /**
     * D3-新增周期阶段资料（问题总结等）[2679]
     * gen by moon at 8/9/2024, 3:51:15 PM
     */
    @Trace(operationName = "D3-新增周期阶段资料（问题总结等）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AddCycleStageDataRespDto addCycleStageData(AddCycleStageDataReqDto reqDto) {


        String string_1 = null;
        ImplementCreateMsgAndNumComRespDto implementCreateMsgAndNumComRespDto_1 = null;
//virtualUsage 3-3-09查被评对象目标周期详情  49868
        OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle = null;
        QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq = new QueryEvaObjTargetCycleDetailReq();
        queryEvaObjTargetCycleDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:434612_1_49868
        if (reqDto != null) {
            queryEvaObjTargetCycleDetailReq.setEvaObjTargetCycleId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:434611_1_49868
            queryEvaObjTargetCycleDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:434613_1_49868
        }

        /*3-3-09查被评对象目标周期详情[2313]   */
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaObjTargetCycleId(), "D3-新增周期阶段资料（问题总结等）-3-3-09查被评对象目标周期详情-被评对象目标周期ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaluationTemplateId(), "D3-新增周期阶段资料（问题总结等）-3-3-09查被评对象目标周期详情-冗余评价模板ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getSubjectLifeCycle(), "D3-新增周期阶段资料（问题总结等）-3-3-09查被评对象目标周期详情-主体生命周期不能为空", false);
        omsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq)/*vcase invoke 本地 method 方法调用;*/;
        Assert.isTrue(omsEvaluationObjectTargetCycle == null || omsEvaluationObjectTargetCycle.getTargetCycleContentId() == null, "找不到数据，系统异常", false);


//virtualUsage 3-6-02查虚拟组织成员详情（查负责人就职记录）  49871
        OmsVirtualOrgMember omsVirtualOrgMember = null;
        if (omsEvaluationObjectTargetCycle != null) {
            QueryVirtualOrgMemberDetailReq queryVirtualOrgMemberDetailReq = new QueryVirtualOrgMemberDetailReq();
            queryVirtualOrgMemberDetailReq.setIsPersonCharge("TRUE");//sourceId:126609_1_49871
            queryVirtualOrgMemberDetailReq.setIsArchive("FALSE");//sourceId:126654_1_49871
            if (omsEvaluationObjectTargetCycle != null) {
                queryVirtualOrgMemberDetailReq.setEntityId(omsEvaluationObjectTargetCycle.getTargetCycleContentId());//SimpleFieldAssign//sourceId:126611_1_49871
            }

            /*3-6-02查虚拟组织成员详情（查负责人就职记录）[2379]   */
            Assert.isNull(queryVirtualOrgMemberDetailReq.getEntityId(), "D3-新增周期阶段资料（问题总结等）-3-6-02查虚拟组织成员详情（查负责人就职记录）-冗余内容表主键ID不能为空", false);
            Assert.isNull(queryVirtualOrgMemberDetailReq.getIsPersonCharge(), "D3-新增周期阶段资料（问题总结等）-3-6-02查虚拟组织成员详情（查负责人就职记录）-是否负责人不能为空", false);
            Assert.isNull(queryVirtualOrgMemberDetailReq.getIsArchive(), "D3-新增周期阶段资料（问题总结等）-3-6-02查虚拟组织成员详情（查负责人就职记录）-是否存档不能为空", false);
            omsVirtualOrgMember = mOmsVirtualOrgMemberService.queryVirtualOrgMemberDetail(queryVirtualOrgMemberDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        }
//virtualUsage 3-6-02查虚拟组织成员详情  58896
        OmsVirtualOrgMember omsVirtualOrgMember_2 = null;
        QueryVirtualOrgMemberDetailReq queryVirtualOrgMemberDetailReq_1 = new QueryVirtualOrgMemberDetailReq();
        queryVirtualOrgMemberDetailReq_1.setVirtualOrgInductionRecordId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:1471112_1_58896
        queryVirtualOrgMemberDetailReq_1.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1471113_1_58896

        /*3-6-02查虚拟组织成员详情[2379]   */
        Assert.isNull(queryVirtualOrgMemberDetailReq_1.getVirtualOrgInductionRecordId(), "D3-新增周期阶段资料（问题总结等）-3-6-02查虚拟组织成员详情-虚拟组织成员就职记录ID不能为空", false);
        Assert.isNull(queryVirtualOrgMemberDetailReq_1.getSubjectLifeCycle(), "D3-新增周期阶段资料（问题总结等）-3-6-02查虚拟组织成员详情-主体生命周期不能为空", false);
        omsVirtualOrgMember_2 = mOmsVirtualOrgMemberService.queryVirtualOrgMemberDetail(queryVirtualOrgMemberDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage 3-7-01查询任务详情  58894
        OmsTask omsTask = null;
        QueryTaskDetailReq queryTaskDetailReq = new QueryTaskDetailReq();
        queryTaskDetailReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1471020_1_58894
        if (reqDto != null) {
            queryTaskDetailReq.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1471019_1_58894
        }

        /*3-7-01查询任务详情[2522]   */
        Assert.isNull(queryTaskDetailReq.getTaskId(), "D3-新增周期阶段资料（问题总结等）-3-7-01查询任务详情-任务ID不能为空", false);
        Assert.isNull(queryTaskDetailReq.getSpaceId(), "D3-新增周期阶段资料（问题总结等）-3-7-01查询任务详情-创建于空间ID不能为空", false);
        omsTask = mOmsTaskService.queryTaskDetail(queryTaskDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage 3-3-11新增周期阶段资料  49872
        String string = null;
        if (omsEvaluationObjectTargetCycle != null && omsVirtualOrgMember_2 != null && omsVirtualOrgMember != null && omsTask != null) {
            OmsTspeCycleStageData omsTspeCycleStageData = new OmsTspeCycleStageData();
            omsTspeCycleStageData.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:82872_1_49872
            omsTspeCycleStageData.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:82874_1_49872
            omsTspeCycleStageData.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:82875_1_49872
            omsTspeCycleStageData.setIsInputData("TRUE");//sourceId:82873_1_49872
            omsTspeCycleStageData.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:82880_1_49872
            omsTspeCycleStageData.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:1072912_1_49872
            if (reqDto != null) {
                omsTspeCycleStageData.setStageData(reqDto.getStageData());//SimpleFieldAssign//sourceId:82889_1_49872
                omsTspeCycleStageData.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:82888_1_49872
                omsTspeCycleStageData.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:82876_1_49872
                omsTspeCycleStageData.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:436615_1_49872
                omsTspeCycleStageData.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:436616_1_49872
                omsTspeCycleStageData.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1072913_1_49872
            }
            if (omsEvaluationObjectTargetCycle != null) {
                omsTspeCycleStageData.setEvaObjTargetCycleCode(omsEvaluationObjectTargetCycle.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:436666_1_49872
                omsTspeCycleStageData.setBelongToContentTypeCode(omsEvaluationObjectTargetCycle.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:436613_1_49872
                omsTspeCycleStageData.setBelongToContentId(omsEvaluationObjectTargetCycle.getTargetCycleContentId());//SimpleFieldAssign//sourceId:436614_1_49872
            }
            if (omsVirtualOrgMember_2 != null) {
                omsTspeCycleStageData.setEvaluationFillRoleId(omsVirtualOrgMember_2.getRoleCode());//SimpleFieldAssign//sourceId:82879_1_49872
            }
            if (omsVirtualOrgMember != null) {
                omsTspeCycleStageData.setFilledByInductionId(omsVirtualOrgMember.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:126569_1_49872
            }
            if (omsTask != null) {
                omsTspeCycleStageData.setTaskId(omsTask.getTaskId());//SimpleFieldAssign//sourceId:1192072_1_49872
            }

            /*3-3-11新增周期阶段资料[2420]   */
            Assert.isNull(omsTspeCycleStageData.getStageData(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-阶段资料具体内容不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getStageContentType(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-内容性质类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getCycleDataTypeCode(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-周期阶段资料类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getCyclePurposeTypeCode(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-周期资料用途类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getCycleDataObjTypeCode(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-周期资料归属对象类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getCycleDataObjId(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-周期资料归属对象ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getEvaObjTargetCycleCode(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-被评对象目标周期标识不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getEvaluationFillRoleId(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-角色标识不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getFilledByInductionId(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-内容责任人就职记录ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getIsInputData(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-是否人工输入内容不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getSubjectLifeCycle(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-主体生命周期不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getTaskId(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-任务ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getBelongToContentTypeCode(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-归属内容类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getBelongToContentId(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-归属内容ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getCycleId(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-周期ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getThemeContentId(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-主题内容ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData.getThemeContentTypeCode(), "D3-新增周期阶段资料（问题总结等）-3-3-11新增周期阶段资料-主题内容类型编码不能为空", false);
            string = mOmsTspeCycleStageDataService.addCycleStageData(omsTspeCycleStageData)/*vcase invoke 本地 method 方法调用;*/;


            string_1 = string;
        }
//virtualUsage D3-执行汇报任务责任人内容名称等准备(公共)  57845
        ImplementReportTaskMessagePrepareNewComRespDto implementReportTaskMessagePrepareNewComRespDto = null;
        if (omsTask != null && omsEvaluationObjectTargetCycle != null) {
            ImplementReportTaskMessagePrepareNewComReqDto implementReportTaskMessagePrepareNewComReqDto = new ImplementReportTaskMessagePrepareNewComReqDto();
            if (omsTask != null) {
                implementReportTaskMessagePrepareNewComReqDto.setCycleStageDataId(omsTask.getEntityId());//SimpleFieldAssign//sourceId:1469135_1_57845
            }
            if (reqDto != null) {
                implementReportTaskMessagePrepareNewComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1456744_1_57845
                implementReportTaskMessagePrepareNewComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1456738_1_57845
            }
            if (omsEvaluationObjectTargetCycle != null) {
                implementReportTaskMessagePrepareNewComReqDto.setTargetCycleContentId(omsEvaluationObjectTargetCycle.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1456736_1_57845
                implementReportTaskMessagePrepareNewComReqDto.setTargetCycleContentTypeCode(omsEvaluationObjectTargetCycle.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1456737_1_57845
            }

            /*D3-执行汇报任务责任人内容名称等准备(公共)[8245]   */
            Assert.isNull(implementReportTaskMessagePrepareNewComReqDto.getCycleStageDataId(), "D3-新增周期阶段资料（问题总结等）-D3-执行汇报任务责任人内容名称等准备(公共)-周期阶段资料记录ID不能为空", false);
            Assert.isNull(implementReportTaskMessagePrepareNewComReqDto.getCycleId(), "D3-新增周期阶段资料（问题总结等）-D3-执行汇报任务责任人内容名称等准备(公共)-周期ID不能为空", false);
            Assert.isNull(implementReportTaskMessagePrepareNewComReqDto.getTargetCycleContentId(), "D3-新增周期阶段资料（问题总结等）-D3-执行汇报任务责任人内容名称等准备(公共)-关联目标内容ID不能为空", false);
            Assert.isNull(implementReportTaskMessagePrepareNewComReqDto.getTargetCycleContentTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3-执行汇报任务责任人内容名称等准备(公共)-关联目标内容类型编码不能为空", false);
            Assert.isNull(implementReportTaskMessagePrepareNewComReqDto.getEvaluationTemplateId(), "D3-新增周期阶段资料（问题总结等）-D3-执行汇报任务责任人内容名称等准备(公共)-冗余评价模板ID不能为空", false);
            implementReportTaskMessagePrepareNewComRespDto = taskService.implementReportTaskMessagePrepareNewCom(implementReportTaskMessagePrepareNewComReqDto)/*vcase invoke isSameApp*/;


        }
        if ((reqDto != null && reqDto.getStageContentType() != null && reqDto.getStageContentType().equals("SUM_OF_PRO") && reqDto != null && reqDto.getWhetherCreateQuestion() != null && reqDto.getWhetherCreateQuestion().equals("TRUE"))) {
            //if((D3-新增周期阶段资料（问题总结等）.内容性质类型编码 等于 问题总结 and D3-新增周期阶段资料（问题总结等）.是否创建问题工单 等于 是))  57251

            QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
            if (omsVirtualOrgMember != null) {
                QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto = new QueryInductionRecordInfoDetailComReqDto();
                queryInductionRecordInfoDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1436709_1_58469
                if (omsVirtualOrgMember != null) {
                    queryInductionRecordInfoDetailComReqDto.setInductionRecordId(omsVirtualOrgMember.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1436701_1_58469
                }

                /*D1-3查询个人就职记录信息详情（公共）[715]   */
                Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(), "D3-新增周期阶段资料（问题总结等）-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空", false);
                Assert.isNull(queryInductionRecordInfoDetailComReqDto.getSpaceId(), "D3-新增周期阶段资料（问题总结等）-D1-3查询个人就职记录信息详情（公共）-创建于空间ID不能为空", false);
                queryInductionRecordInfoDetailComRespDto = inductionRecordService.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            ImplementContentTypeChangeTableTypeComRespDto implementContentTypeChangeTableTypeComRespDto = null;
            if (omsEvaluationObjectTargetCycle != null) {
                ImplementContentTypeChangeTableTypeComReqDto implementContentTypeChangeTableTypeComReqDto = new ImplementContentTypeChangeTableTypeComReqDto();
                if (omsEvaluationObjectTargetCycle != null) {
                    implementContentTypeChangeTableTypeComReqDto.setTargetCycleContentTypeCode(omsEvaluationObjectTargetCycle.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1966269_1_72093
                }

                /*D3目标内容类型互转表类型(公共)[5354]   */
                Assert.isNull(implementContentTypeChangeTableTypeComReqDto.getTargetCycleContentTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3目标内容类型互转表类型(公共)-关联目标内容类型编码不能为空", false);
                implementContentTypeChangeTableTypeComRespDto = indexSystemService.implementContentTypeChangeTableTypeCom(implementContentTypeChangeTableTypeComReqDto)/*vcase invoke isSameApp*/;


            }
            AddQuestionBusinessProcessingComRespDto addQuestionBusinessProcessingComRespDto = null;
            if (queryInductionRecordInfoDetailComRespDto != null && implementContentTypeChangeTableTypeComRespDto != null && omsEvaluationObjectTargetCycle != null && string != null && omsVirtualOrgMember != null) {
                AddQuestionBusinessProcessingComReqDto addQuestionBusinessProcessingComReqDto = new AddQuestionBusinessProcessingComReqDto();
                addQuestionBusinessProcessingComReqDto.setArrangeSubjectTypeCode("OMS_ORG_DEPT");//sourceId:1437402_1_57252
                addQuestionBusinessProcessingComReqDto.setTableTypeCode("OMS_TSPE_CYCLE_STAGE_DATA");//sourceId:1437405_1_57252
                addQuestionBusinessProcessingComReqDto.setParentTableTypeCode("OMS_EVALUATION_OBJECT_TARGET_CYCLE");//sourceId:1437407_1_57252
                addQuestionBusinessProcessingComReqDto.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:1437409_1_57252
                addQuestionBusinessProcessingComReqDto.setCreateInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:1437416_1_57252
                addQuestionBusinessProcessingComReqDto.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1437411_1_57252
                if (reqDto != null) {
                    addQuestionBusinessProcessingComReqDto.setQuestionIntroduce(reqDto.getStageData());//SimpleFieldAssign//sourceId:1437397_1_57252
                    addQuestionBusinessProcessingComReqDto.setQuestionLevel(reqDto.getQuestionLevel());//SimpleFieldAssign//sourceId:1437399_1_57252
                    addQuestionBusinessProcessingComReqDto.setParentEntityId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:1437408_1_57252
                    addQuestionBusinessProcessingComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1437410_1_57252
                }
                if (queryInductionRecordInfoDetailComRespDto != null) {
                    addQuestionBusinessProcessingComReqDto.setArrangeSubjectId(queryInductionRecordInfoDetailComRespDto.getEntityId());//SimpleFieldAssign//sourceId:1437401_1_57252
                }
                if (implementContentTypeChangeTableTypeComRespDto != null) {
                    addQuestionBusinessProcessingComReqDto.setCoordObjectTypeCode(implementContentTypeChangeTableTypeComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1437403_1_57252
                }
                if (omsEvaluationObjectTargetCycle != null) {
                    addQuestionBusinessProcessingComReqDto.setCoordObjectId(omsEvaluationObjectTargetCycle.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1437404_1_57252
                }
                if (string != null) {
                    addQuestionBusinessProcessingComReqDto.setEntityId(string);//SimpleFieldAssign//sourceId:1437406_1_57252
                }
                if (omsVirtualOrgMember != null) {
                    addQuestionBusinessProcessingComReqDto.setPrincipalInductionId(omsVirtualOrgMember.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1437414_1_57252
                }
                if (reqDto != null && reqDto.getBusAppDocRelaList() != null && !CollectionUtil.isEmpty(reqDto.getBusAppDocRelaList())) {
                    addQuestionBusinessProcessingComReqDto.setBusAppDocRelaList(reqDto.getBusAppDocRelaList().stream().map(item -> BeanUtil.toBean(item, BusAppDocRelaDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1437415_1_57252
                }

                /*D3新增问题业务处理(公共)[7854]   */
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getQuestionIntroduce(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-问题文字简介不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getQuestionLevel(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-问题等级不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getArrangeSubjectId(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-安排主体ID不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getArrangeSubjectTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-安排主体类型编码不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getCoordObjectTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-归属对象类型编码不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getCoordObjectId(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-归属对象ID不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getTableTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-内容表类型编码不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getEntityId(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-内容表主键ID不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getParentTableTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-父内容表类型编码不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getParentEntityId(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-父内容表主键ID不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getThemeContentTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-主题内容类型编码不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getThemeContentId(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-主题内容ID不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getCreateInductionId(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-创建人就职记录ID不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getPrincipalInductionId(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-负责人就职记录ID不能为空", false);
                Assert.isNull(addQuestionBusinessProcessingComReqDto.getSubjectLifeCycle(), "D3-新增周期阶段资料（问题总结等）-D3新增问题业务处理(公共)-主体生命周期不能为空", false);
                addQuestionBusinessProcessingComRespDto = questionService.addQuestionBusinessProcessingCom(addQuestionBusinessProcessingComReqDto)/*vcase invoke isSameApp*/;


            }
        }
//virtualUsage D3执行问题等级转消息提示层级(公共)  57257
        ImplementQuestionLevelConvertMsgLevelComRespDto implementQuestionLevelConvertMsgLevelComRespDto = null;
        ImplementQuestionLevelConvertMsgLevelComReqDto implementQuestionLevelConvertMsgLevelComReqDto = new ImplementQuestionLevelConvertMsgLevelComReqDto();
        if (reqDto != null) {
            implementQuestionLevelConvertMsgLevelComReqDto.setQuestionLevel(reqDto.getQuestionLevel());//SimpleFieldAssign//sourceId:1437834_1_57257
        }

        /*D3执行问题等级转消息提示层级(公共)[8033]   */
        Assert.isNull(implementQuestionLevelConvertMsgLevelComReqDto.getQuestionLevel(), "D3-新增周期阶段资料（问题总结等）-D3执行问题等级转消息提示层级(公共)-问题等级不能为空", false);
        implementQuestionLevelConvertMsgLevelComRespDto = questionService.implementQuestionLevelConvertMsgLevelCom(implementQuestionLevelConvertMsgLevelComReqDto)/*vcase invoke isSameApp*/;


//virtualUsage D3执行内容发消息内容准备(公共)  58541
        ImplementWrokContentSendMsgContentPreparationComRespDto implementWrokContentSendMsgContentPreparationComRespDto = null;
        if (omsTask != null) {
            ImplementWrokContentSendMsgContentPreparationComReqDto implementWrokContentSendMsgContentPreparationComReqDto = new ImplementWrokContentSendMsgContentPreparationComReqDto();
            implementWrokContentSendMsgContentPreparationComReqDto.setTableTypeCode("OMS_TSPE_CYCLE_STAGE_DATA");//sourceId:1467670_1_58541
            implementWrokContentSendMsgContentPreparationComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1467672_1_58541
            if (reqDto != null) {
                implementWrokContentSendMsgContentPreparationComReqDto.setSendMsgScene(reqDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1467673_1_58541
            }
            if (omsTask != null) {
                implementWrokContentSendMsgContentPreparationComReqDto.setTaskName(omsTask.getTaskName());//SimpleFieldAssign//sourceId:1470959_1_58541
                implementWrokContentSendMsgContentPreparationComReqDto.setEntityId(omsTask.getEntityId());//SimpleFieldAssign//sourceId:1467671_1_58541
            }

            /*D3执行内容发消息内容准备(公共)[8256]   */
            Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getSendMsgScene(), "D3-新增周期阶段资料（问题总结等）-D3执行内容发消息内容准备(公共)-发送消息场景不能为空", false);
            Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getEntityId(), "D3-新增周期阶段资料（问题总结等）-D3执行内容发消息内容准备(公共)-冗余内容表主键ID不能为空", false);
            Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getTableTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3执行内容发消息内容准备(公共)-冗余内容表类型编码不能为空", false);
            Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getSpaceId(), "D3-新增周期阶段资料（问题总结等）-D3执行内容发消息内容准备(公共)-创建于空间ID不能为空", false);
            implementWrokContentSendMsgContentPreparationComRespDto = workTasksService.implementWrokContentSendMsgContentPreparationCom(implementWrokContentSendMsgContentPreparationComReqDto)/*vcase invoke isSameApp*/;


        }
//virtualUsage D2分析发送消息场景匹配消息模板(公共)  59485
        ImplementCommentMessageTemplateCodeComRespDto implementCommentMessageTemplateCodeComRespDto = null;
        ImplementCommentMessageTemplateCodeComReqDto implementCommentMessageTemplateCodeComReqDto = new ImplementCommentMessageTemplateCodeComReqDto();
        if (reqDto != null) {
            implementCommentMessageTemplateCodeComReqDto.setSendMsgScene(reqDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1482986_1_59485
        }

        /*D2分析发送消息场景匹配消息模板(公共)[7370]   */
        Assert.isNull(implementCommentMessageTemplateCodeComReqDto.getSendMsgScene(), "D3-新增周期阶段资料（问题总结等）-D2分析发送消息场景匹配消息模板(公共)-发送消息场景不能为空", false);
        implementCommentMessageTemplateCodeComRespDto = fwCompMessageClient.implementCommentMessageTemplateCodeCom(implementCommentMessageTemplateCodeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D3执行生成消息及数量(公共)  57846
        ImplementCreateMsgAndNumComRespDto implementCreateMsgAndNumComRespDto = null;
        if (implementReportTaskMessagePrepareNewComRespDto != null && omsVirtualOrgMember != null && string != null && implementWrokContentSendMsgContentPreparationComRespDto != null && implementCommentMessageTemplateCodeComRespDto != null && implementQuestionLevelConvertMsgLevelComRespDto != null) {
            ImplementCreateMsgAndNumComReqDto implementCreateMsgAndNumComReqDto = new ImplementCreateMsgAndNumComReqDto();
            implementCreateMsgAndNumComReqDto.setMsgAndLocUsageScene("TARGET_PLAN_SCENE");//sourceId:1456747_1_57846
            implementCreateMsgAndNumComReqDto.setMessageReceiverType("BY_VIRTUAL_ORG_MEM");//sourceId:1456749_1_57846
            implementCreateMsgAndNumComReqDto.setSendMsgTechnologyMode("LABOUR_SEND_PRINCIPAL");//sourceId:1456750_1_57846
            implementCreateMsgAndNumComReqDto.setMsgTableTypeCode("OMS_TSPE_CYCLE_STAGE_DATA");//sourceId:1456766_1_57846
            implementCreateMsgAndNumComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1456756_1_57846
            implementCreateMsgAndNumComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1456768_1_57846
            implementCreateMsgAndNumComReqDto.setPlatformReplace("FALSE");//sourceId:1456783_1_57846
            implementCreateMsgAndNumComReqDto.setMessageChannelTypeCode("GROUP_SESSION");//sourceId:1456777_1_57846
            implementCreateMsgAndNumComReqDto.setMsgChannelClassCode("CONTENT_COMMUNICATION");//sourceId:1456776_1_57846
            implementCreateMsgAndNumComReqDto.setMessageLocationCode("CONTENT_COMMUNICATION");//CUSTOM_CONVENTION//sourceId:1456778_1_57846
            implementCreateMsgAndNumComReqDto.setHandleType("NO_NEED_HANDLING");//sourceId:1456780_1_57846
            implementCreateMsgAndNumComReqDto.setTitleFieldValue("idCardName");//CUSTOM_CONVENTION//sourceId:1465911_1_57846
            implementCreateMsgAndNumComReqDto.setFirstFieldName("questionIntroduce");//CUSTOM_CONVENTION//sourceId:1456757_1_57846
            implementCreateMsgAndNumComReqDto.setSecondFieldName("cycleStandardName");//CUSTOM_CONVENTION//sourceId:1456759_1_57846
            implementCreateMsgAndNumComReqDto.setThirdFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1456761_1_57846
            if (reqDto != null) {
                implementCreateMsgAndNumComReqDto.setSendMsgScene(reqDto.getSendMsgScene());//SimpleFieldAssign//sourceId:1456748_1_57846
                implementCreateMsgAndNumComReqDto.setReferenceMessageId(reqDto.getReferenceMessageId());//SimpleFieldAssign//sourceId:1465912_1_57846
                implementCreateMsgAndNumComReqDto.setFirstFieldValue(reqDto.getStageData());//SimpleFieldAssign//sourceId:1456758_1_57846
            }
            if (implementReportTaskMessagePrepareNewComRespDto != null) {
                implementCreateMsgAndNumComReqDto.setNewTableTypeCode(implementReportTaskMessagePrepareNewComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1456752_1_57846
                implementCreateMsgAndNumComReqDto.setNewEntityId(implementReportTaskMessagePrepareNewComRespDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1456753_1_57846
                implementCreateMsgAndNumComReqDto.setTableTypeCode(implementReportTaskMessagePrepareNewComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1456754_1_57846
                implementCreateMsgAndNumComReqDto.setEntityId(implementReportTaskMessagePrepareNewComRespDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1456755_1_57846
                implementCreateMsgAndNumComReqDto.setTitleFieldName(implementReportTaskMessagePrepareNewComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1465910_1_57846
                implementCreateMsgAndNumComReqDto.setSecondFieldValue(implementReportTaskMessagePrepareNewComRespDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1456760_1_57846
                implementCreateMsgAndNumComReqDto.setThirdFieldValue(implementReportTaskMessagePrepareNewComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1456762_1_57846
            }
            if (omsVirtualOrgMember != null) {
                implementCreateMsgAndNumComReqDto.setRoleCode(omsVirtualOrgMember.getRoleCode());//SimpleFieldAssign//sourceId:1478657_1_57846
            }
            if (string != null) {
                implementCreateMsgAndNumComReqDto.setMsgEntiyId(string);//SimpleFieldAssign//sourceId:1456767_1_57846
            }
            if (implementWrokContentSendMsgContentPreparationComRespDto != null) {
                implementCreateMsgAndNumComReqDto.setCooperateContentTypeCode(implementWrokContentSendMsgContentPreparationComRespDto.getCooperateContentTypeCode());//SimpleFieldAssign//sourceId:1456771_1_57846
                implementCreateMsgAndNumComReqDto.setCooperateContentId(implementWrokContentSendMsgContentPreparationComRespDto.getCooperateContentId());//SimpleFieldAssign//sourceId:1456772_1_57846
                implementCreateMsgAndNumComReqDto.setSurfaceContName(implementWrokContentSendMsgContentPreparationComRespDto.getSurfaceContName());//SimpleFieldAssign//sourceId:1456773_1_57846
                implementCreateMsgAndNumComReqDto.setThemeContentTypeCode(implementWrokContentSendMsgContentPreparationComRespDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1456769_1_57846
                implementCreateMsgAndNumComReqDto.setThemeContentId(implementWrokContentSendMsgContentPreparationComRespDto.getThemeContentId());//SimpleFieldAssign//sourceId:1456770_1_57846
            }
            if (implementCommentMessageTemplateCodeComRespDto != null) {
                implementCreateMsgAndNumComReqDto.setMessageTemplateCode(implementCommentMessageTemplateCodeComRespDto.getMessageTemplateCode());//SimpleFieldAssign//sourceId:1456779_1_57846
                implementCreateMsgAndNumComReqDto.setMsgTitleTemplateSemanticEngineCode(implementCommentMessageTemplateCodeComRespDto.getMsgTitleTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1465909_1_57846
            }
            if (implementQuestionLevelConvertMsgLevelComRespDto != null) {
                implementCreateMsgAndNumComReqDto.setMessageImportantLevel(implementQuestionLevelConvertMsgLevelComRespDto.getMessageImportantLevel());//SimpleFieldAssign//sourceId:1456784_1_57846
            }

            /*D3执行生成消息及数量(公共)[8243]   */
            Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgAndLocUsageScene(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-消息及位置使用场景不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getSendMsgScene(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-发送消息场景不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageReceiverType(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-消息接收方类型不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getSendMsgTechnologyMode(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-发送消息技术模型不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getNewTableTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-通道归属主体内容类型编码不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getRoleCode(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-角色标识不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getNewEntityId(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-通道归属主体内容ID不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getTableTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-小圈子内容表类型编码不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getEntityId(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-小圈子内容表主键ID不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgTableTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-消息内容表类型编码不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgEntiyId(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-消息内容表主键ID不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getCooperateContentTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-协同内容类型编码不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getCooperateContentId(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-协同内容ID不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getSurfaceContName(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-协同内容名称不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getSpaceId(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-创建于空间ID不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getAppId(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-创建于联盟应用ID不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getPlatformReplace(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-是否平台代操作不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageChannelTypeCode(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-通道类型编码不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgChannelClassCode(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-消息使用通道类别不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageLocationCode(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-消息位置标识不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageTemplateCode(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-消息模板标识不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getHandleType(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-处理类型不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageImportantLevel(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-消息重要紧急度层级不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgTitleTemplateSemanticEngineCode(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-消息标题模板引擎标识不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getTitleFieldValue(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-标题字段字段值不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getTitleFieldName(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-标题字段字段名不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getFirstFieldName(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-第一个字段字段名不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getFirstFieldValue(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-第一个字段字段值不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getSecondFieldName(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-第二个字段字段名不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getSecondFieldValue(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-第二个字段字段值不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getThirdFieldName(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-第三个字段字段名不能为空", false);
            Assert.isNull(implementCreateMsgAndNumComReqDto.getThirdFieldValue(), "D3-新增周期阶段资料（问题总结等）-D3执行生成消息及数量(公共)-第三个字段字段值不能为空", false);
            implementCreateMsgAndNumComRespDto = messageService.implementCreateMsgAndNumCom(implementCreateMsgAndNumComReqDto)/*vcase invoke isSameApp*/;


            implementCreateMsgAndNumComRespDto_1 = implementCreateMsgAndNumComRespDto;
        }
        AddCycleStageDataRespDto retData = new AddCycleStageDataRespDto();
        if (string_1 != null) {
            retData.setCycleStageDataId(string_1);//SimpleFieldAssign//sourceId:82896_1
        }
        if (implementCreateMsgAndNumComRespDto_1 != null) {
            retData.setMemberChannelRelationId(implementCreateMsgAndNumComRespDto_1.getMemberChannelRelationId());//SimpleFieldAssign//sourceId:1465978_1
        }


        return retData;
    }

    /**
     * D3-查询未发布的汇报问题详情[2897]
     * gen by moon at 11/18/2022, 3:38:24 PM
     */
    @Trace(operationName = "D3-查询未发布的汇报问题详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryQuestionOfReportingTaskDetailRespDto queryQuestionOfReportingTaskDetail(QueryQuestionOfReportingTaskDetailReqDto reqDto) {


        TransitionCycleStageDataColumnToRowRespDto columnToRowRes_1 = null;
//步骤0: 3-3-11查询周期阶段资料列表 - queryCycleStageDataList
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        QueryCycleStageDataListReq queryCycleStageDataListReq = new QueryCycleStageDataListReq();
        queryCycleStageDataListReq.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:92972_1
        queryCycleStageDataListReq.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:92967_1
        queryCycleStageDataListReq.setIsInputData("TRUE");//sourceId:92970_1
        queryCycleStageDataListReq.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:92971_1
        queryCycleStageDataListReq.setFilledByInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:92976_1
        queryCycleStageDataListReq.setSubjectLifeCycle("EDITING");//sourceId:92978_1
        if (reqDto != null) {
            queryCycleStageDataListReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:441146_1
            queryCycleStageDataListReq.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:92973_1
        }

        /*3-3-11查询周期阶段资料列表[2673]   */
        Assert.isNull(queryCycleStageDataListReq.getCycleId(), "D3-查询未发布的汇报问题详情-3-3-11查询周期阶段资料列表-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCycleDataObjId(), "D3-查询未发布的汇报问题详情-3-3-11查询周期阶段资料列表-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCycleDataObjTypeCode(), "D3-查询未发布的汇报问题详情-3-3-11查询周期阶段资料列表-周期资料归属对象类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCycleDataTypeCode(), "D3-查询未发布的汇报问题详情-3-3-11查询周期阶段资料列表-周期阶段资料类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getIsInputData(), "D3-查询未发布的汇报问题详情-3-3-11查询周期阶段资料列表-是否人工输入内容不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCyclePurposeTypeCode(), "D3-查询未发布的汇报问题详情-3-3-11查询周期阶段资料列表-周期资料用途类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getFilledByInductionId(), "D3-查询未发布的汇报问题详情-3-3-11查询周期阶段资料列表-内容责任人就职记录ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getSubjectLifeCycle(), "D3-查询未发布的汇报问题详情-3-3-11查询周期阶段资料列表-主体生命周期不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataList(queryCycleStageDataListReq);


//步骤1: M3-转换周期阶段资料列转行（特殊方法） - transitionCycleStageDataColumnToRow
        //ModelCode: columnToRow
        TransitionCycleStageDataColumnToRowRespDto columnToRowRes = null;
        if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
            TransitionCycleStageDataColumnToRowReqDto columnToRowReq = new TransitionCycleStageDataColumnToRowReqDto();
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                columnToRowReq.setCycleStageDataList(listOmsTspeCycleStageData.stream().map(item -> {
                    CycleStageDataDto elm = BeanUtil.toBean(item, CycleStageDataDto.class);
                    //elm.setCycleStageDataId();//COLUMN_TO_ROW_CODE  TODO ruizhe dong

                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:92982_1
            }

            /*M3-转换周期阶段资料列转行（特殊方法）[2795]  将多列数据转成一行数据 */

            columnToRowRes = nbCycleStageData.transitionCycleStageDataColumnToRow(columnToRowReq);


            columnToRowRes_1 = columnToRowRes;
        }

        QueryQuestionOfReportingTaskDetailRespDto retData = new QueryQuestionOfReportingTaskDetailRespDto();
        if (columnToRowRes_1 != null) {
            retData.setSumOfPro(columnToRowRes_1.getSumOfPro());//SimpleFieldAssign//sourceId:93035_1
            retData.setSolvingIdeas(columnToRowRes_1.getSolvingIdeas());//SimpleFieldAssign//sourceId:93036_1
        }


        return retData;
    }

    /**
     * D3-3查询周期阶段资料详情(公共)[3962]
     * gen by moon at 10/27/2024, 12:34:53 AM
     */
    @Trace(operationName = "D3-3查询周期阶段资料详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryCycleStageDataDetailComRespDto queryCycleStageDataDetailCom(QueryCycleStageDataDetailComReqDto reqDto) {


        OmsTspeCycleStageData omsTspeCycleStageData_1 = null;
//步骤0: 3-3-11查周期阶段资料详情 - queryCycleStageDataDetail
        OmsTspeCycleStageData omsTspeCycleStageData = null;
        QueryCycleStageDataDetailReq queryCycleStageDataDetailReq = new QueryCycleStageDataDetailReq();
        if (reqDto != null) {
            queryCycleStageDataDetailReq.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:203122_1
            queryCycleStageDataDetailReq.setIsInputData(reqDto.getIsInputData());//SimpleFieldAssign//sourceId:203128_1
            queryCycleStageDataDetailReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:203138_1
            queryCycleStageDataDetailReq.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:203131_1
            queryCycleStageDataDetailReq.setCycleDataTypeCode(reqDto.getCycleDataTypeCode());//SimpleFieldAssign//sourceId:203130_1
            queryCycleStageDataDetailReq.setCycleDataObjTypeCode(reqDto.getCycleDataObjTypeCode());//SimpleFieldAssign//sourceId:203132_1
            queryCycleStageDataDetailReq.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:203133_1
            queryCycleStageDataDetailReq.setBelongToContentId(reqDto.getBelongToContentId());//SimpleFieldAssign//sourceId:203137_1
            queryCycleStageDataDetailReq.setParentEvaObjTargetCycleId(reqDto.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:2024407_1
            queryCycleStageDataDetailReq.setIsActualReceptionCycle(reqDto.getIsActualReceptionCycle());//SimpleFieldAssign//sourceId:203136_1
            queryCycleStageDataDetailReq.setFilledByInductionId(reqDto.getFilledByInductionId());//SimpleFieldAssign//sourceId:203134_1
            queryCycleStageDataDetailReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1778294_1
            queryCycleStageDataDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:203123_1
            queryCycleStageDataDetailReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:203190_1
            queryCycleStageDataDetailReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:203124_1
            queryCycleStageDataDetailReq.setAppId(reqDto.getAppId());//SimpleFieldAssign//sourceId:203125_1
        }

        /*3-3-11查周期阶段资料详情[2771]   */

        omsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataDetail(queryCycleStageDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsTspeCycleStageData_1 = omsTspeCycleStageData;

        QueryCycleStageDataDetailComRespDto retData = new QueryCycleStageDataDetailComRespDto();
        if (omsTspeCycleStageData_1 != null) {
            retData.setCycleStageDataId(omsTspeCycleStageData_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:203143_1
            retData.setTaskId(omsTspeCycleStageData_1.getTaskId());//SimpleFieldAssign//sourceId:711324_1
            retData.setCycleId(omsTspeCycleStageData_1.getCycleId());//SimpleFieldAssign//sourceId:1922280_1
            retData.setCycleDataObjId(omsTspeCycleStageData_1.getCycleDataObjId());//SimpleFieldAssign//sourceId:1923844_1
            retData.setBelongToContentTypeCode(omsTspeCycleStageData_1.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:1922286_1
            retData.setBelongToContentId(omsTspeCycleStageData_1.getBelongToContentId());//SimpleFieldAssign//sourceId:1922283_1
            retData.setParentSubMidCycleType(omsTspeCycleStageData_1.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1973452_1
            retData.setWorkCycleUpdateSlice(omsTspeCycleStageData_1.getWorkCycleUpdateSlice());//SimpleFieldAssign//sourceId:905016_1
            retData.setIsPlanReceptionCycle(omsTspeCycleStageData_1.getIsPlanReceptionCycle());//SimpleFieldAssign//sourceId:203150_1
            retData.setIsActualReceptionCycle(omsTspeCycleStageData_1.getIsActualReceptionCycle());//SimpleFieldAssign//sourceId:1778830_1
            retData.setIsDoneEvaluate(omsTspeCycleStageData_1.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:527792_1
            retData.setThemeContentId(omsTspeCycleStageData_1.getThemeContentId());//SimpleFieldAssign//sourceId:1973453_1
            retData.setReleaseTime(omsTspeCycleStageData_1.getReleaseTime());//SimpleFieldAssign//sourceId:905015_1
            retData.setSubjectLifeCycle(omsTspeCycleStageData_1.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1932075_1
        }


        return retData;
    }

    /**
     * D3-查询周期阶段资料列表(公共)[4697]
     * gen by moon at 7/12/2024, 7:40:19 PM
     */
    @Trace(operationName = "D3-查询周期阶段资料列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryCycleStageDataListComRespDto queryCycleStageDataListCom(QueryCycleStageDataListComReqDto reqDto) {


        List<OmsTspeCycleStageData> listOmsTspeCycleStageData_1 = new ArrayList<>();
        List<OmsCycle> listOmsCycle_1 = new ArrayList<>();
//步骤0: 3-3-11批量查周期阶段资料 - batchQueryCycleStageData
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        BatchQueryCycleStageDataReq batchQueryCycleStageDataReq = new BatchQueryCycleStageDataReq();
        if (reqDto != null) {
            batchQueryCycleStageDataReq.setCycleStageDataList(reqDto.getCycleStageDataList());//list-field-assign//sourceId:343839_1
            batchQueryCycleStageDataReq.setCyclePurposeTypeCode(reqDto.getCyclePurposeTypeCode());//SimpleFieldAssign//sourceId:343840_1
            batchQueryCycleStageDataReq.setCycleDataTypeCode(reqDto.getCycleDataTypeCode());//SimpleFieldAssign//sourceId:517615_1
            batchQueryCycleStageDataReq.setCycleDataObjTypeCode(reqDto.getCycleDataObjTypeCode());//SimpleFieldAssign//sourceId:343841_1
            batchQueryCycleStageDataReq.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:517616_1
            batchQueryCycleStageDataReq.setIsDoneEvaluate(reqDto.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:514448_1
            batchQueryCycleStageDataReq.setIsDoneFilleout(reqDto.getIsDoneFilleout());//SimpleFieldAssign//sourceId:514449_1
            batchQueryCycleStageDataReq.setIsInputData(reqDto.getIsInputData());//SimpleFieldAssign//sourceId:343845_1
            batchQueryCycleStageDataReq.setQuestionDataTypeCode(reqDto.getQuestionDataTypeCode());//SimpleFieldAssign//sourceId:1925489_1
            batchQueryCycleStageDataReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:343842_1
            batchQueryCycleStageDataReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:343846_1
            batchQueryCycleStageDataReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:343843_1
        }

        /*3-3-11批量查周期阶段资料[2778]   */
        Assert.isNull(batchQueryCycleStageDataReq.getSpaceId(), "D3-查询周期阶段资料列表(公共)-3-3-11批量查周期阶段资料-创建于空间ID不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.batchQueryCycleStageData(batchQueryCycleStageDataReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsTspeCycleStageData_1 = listOmsTspeCycleStageData;

//步骤1: 3-4-04批量查周期列表 - batchQueryCycle
        List<OmsCycle> listOmsCycle = new ArrayList<>();
        if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
            BatchQueryCycleReq batchQueryCycleReq = new BatchQueryCycleReq();
            batchQueryCycleReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:343849_1
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                batchQueryCycleReq.setCycleList(listOmsTspeCycleStageData.stream().map(item -> item.getCycleId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:343847_1
            }

            /*3-4-04批量查周期列表[2249]   */
            Assert.isNull(batchQueryCycleReq.getSubjectLifeCycle(), "D3-查询周期阶段资料列表(公共)-3-4-04批量查周期列表-主体生命周期不能为空", false);
            listOmsCycle = mOmsCycleService.batchQueryCycle(batchQueryCycleReq)/*vcase invoke 本地 method 方法调用;*/;


            listOmsCycle_1 = listOmsCycle;
        }

        QueryCycleStageDataListComRespDto retData = new QueryCycleStageDataListComRespDto();
        //数据集融合  MoreListToOneSource
        if (listOmsTspeCycleStageData_1 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1) && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1)) {
            for (OmsTspeCycleStageData omsTspeCycleStageData : listOmsTspeCycleStageData_1) {
                CycleStageDataDto retElm = new CycleStageDataDto();
                retElm.setCycleStageDataId(omsTspeCycleStageData.getCycleStageDataId());//SimpleFieldAssign//sourceId:100416_2
                retElm.setCycleId(omsTspeCycleStageData.getCycleId());//SimpleFieldAssign//sourceId:100415_2
                retElm.setCycleStandardName(omsTspeCycleStageData.getCycleStandardName());//SimpleFieldAssign//sourceId:100417_2
                retElm.setIsDoneEvaluate(omsTspeCycleStageData.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:134151_2
                retElm.setIsDoneFilleout(omsTspeCycleStageData.getIsDoneFilleout());//SimpleFieldAssign//sourceId:134152_2
                retElm.setIsPlanReceptionCycle(omsTspeCycleStageData.getIsPlanReceptionCycle());//SimpleFieldAssign//sourceId:171432_2
                retData.getCycleStageDataList().add(retElm);
                if (listOmsCycle_1 != null && !CollectionUtil.isEmpty(listOmsCycle_1)) {
                    for (OmsCycle omsCycle : listOmsCycle_1) {
                        if (omsCycle.getCycleId().equals(omsTspeCycleStageData.getCycleId())) {
                            retElm.setCycleStartTime(omsCycle.getCycleStartTime());//SimpleFieldAssign//sourceId:100366_2
                            retElm.setCycleEndTime(omsCycle.getCycleEndTime());//SimpleFieldAssign//sourceId:100367_2
                            retElm.setCycleTypeCode(omsCycle.getCycleTypeCode());//SimpleFieldAssign//sourceId:100368_2
                            retElm.setCycleTypeName(omsCycle.getCycleTypeName());//SimpleFieldAssign//sourceId:100369_2
                            retElm.setCycleNumberShortName(omsCycle.getCycleNumberShortName());//SimpleFieldAssign//sourceId:100370_2
                            retElm.setCycleTypeInstanceCode(omsCycle.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:100371_2
                        }
                    }
                }

            }
        }//sourceId:343962_1


        return retData;
    }

    /**
     * D3-3删除周期阶段资料(公共)[4807]
     * gen by moon at 3/11/2023, 9:54:31 PM
     */
    @Trace(operationName = "D3-3删除周期阶段资料(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public DeleteCycleStageDataComRespDto deleteCycleStageDataCom(DeleteCycleStageDataComReqDto reqDto) {


        //步骤0: 3-3-11查询周期阶段资料列表 - queryCycleStageDataList
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        QueryCycleStageDataListReq queryCycleStageDataListReq = new QueryCycleStageDataListReq();
        if (reqDto != null) {
            queryCycleStageDataListReq.setCycleDataObjTypeCode(reqDto.getCycleDataObjTypeCode());//SimpleFieldAssign//sourceId:373468_1
            queryCycleStageDataListReq.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:373469_1
        }

        /*3-3-11查询周期阶段资料列表[2673]   */
        Assert.isNull(queryCycleStageDataListReq.getCycleDataObjTypeCode(), "D3-3删除周期阶段资料(公共)-3-3-11查询周期阶段资料列表-周期资料归属对象类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCycleDataObjId(), "D3-3删除周期阶段资料(公共)-3-3-11查询周期阶段资料列表-周期资料归属对象ID不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataList(queryCycleStageDataListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: 3-3-11批量删周期阶段资料 - batchDeleteCycleStageData
        boolean bOOLEAN;
        if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
            List<String> listString = new ArrayList<>();
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                listString = listOmsTspeCycleStageData.stream().map(item -> item.getCycleStageDataId())
                        .collect(Collectors.toList());/*list-to-strings*///sourceId:373472_1
            }

            /*3-3-11批量删周期阶段资料[4220]   */

            bOOLEAN = mOmsTspeCycleStageDataService.batchDeleteCycleStageData(listString)/*vcase invoke 本地 method 方法调用;*/;


        }

        DeleteCycleStageDataComRespDto retData = new DeleteCycleStageDataComRespDto();


        return retData;
    }

    /**
     * D3-3更新周期阶段资料(公共)[3154]
     * gen by moon at 1/7/2024, 2:48:06 AM
     */
    @Trace(operationName = "D3-3更新周期阶段资料(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public RefreshCycleStageDataComRespDto refreshCycleStageDataCom(RefreshCycleStageDataComReqDto reqDto) {


        ImplementAccessParameterBizFieldRespDto receptionServiceRes_2 = null;
        //步骤0: M3执行获取出入参业务字段（特殊方法） - implementAccessParameterBizField
        //ModelCode: receptionService
        ImplementAccessParameterBizFieldRespDto receptionServiceRes = null;
        ImplementAccessParameterBizFieldReqDto receptionServiceReq = new ImplementAccessParameterBizFieldReqDto();
        if (reqDto != null) {
            receptionServiceReq.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:729514_1
            receptionServiceReq.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:788165_1
            receptionServiceReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:788163_1
        }

        /*M3-接收入参字段[5797]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getCycleStageDataId(), "D3-3更新周期阶段资料(公共)-M3-接收入参字段-周期阶段资料记录ID不能为空", false);
        Assert.isNull(receptionServiceReq.getEvaObjTargetCycleId(), "D3-3更新周期阶段资料(公共)-M3-接收入参字段-被评对象目标周期ID不能为空", false);
        Assert.isNull(receptionServiceReq.getCycleId(), "D3-3更新周期阶段资料(公共)-M3-接收入参字段-周期ID不能为空", false);
        receptionServiceRes = nbCycleStageData.implementAccessParameterBizField(receptionServiceReq);


//步骤1: M3执行获取出入参业务字段（特殊方法） - implementAccessParameterBizField
        //ModelCode: receptionService
        ImplementAccessParameterBizFieldRespDto receptionServiceRes_1 = null;
        ImplementAccessParameterBizFieldReqDto receptionServiceReq_1 = new ImplementAccessParameterBizFieldReqDto();
        receptionServiceReq_1.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:774783_1

        /*M3-约定出参：汇报资料发布时间（当前时间）[5797]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq_1.getOperateTime(), "D3-3更新周期阶段资料(公共)-M3-约定出参：汇报资料发布时间（当前时间）-操作时间不能为空", false);
        receptionServiceRes_1 = nbCycleStageData.implementAccessParameterBizField(receptionServiceReq_1);


        receptionServiceRes_2 = receptionServiceRes_1;

//步骤2: 3-3-11查询周期阶段资料列表 - queryCycleStageDataList
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        QueryCycleStageDataListReq queryCycleStageDataListReq = new QueryCycleStageDataListReq();
        queryCycleStageDataListReq.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:131735_1
        queryCycleStageDataListReq.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:131731_1
        queryCycleStageDataListReq.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:131734_1
        queryCycleStageDataListReq.setSubjectLifeCycle("EDITING");//sourceId:131738_1
        if (reqDto != null) {
            queryCycleStageDataListReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:788162_1
            queryCycleStageDataListReq.setCycleDataObjId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:131736_1
        }

        /*3-3-11查周期阶段资料列表【目标周期范围内所有周期资料】[2673]   */
        Assert.isNull(queryCycleStageDataListReq.getCycleId(), "D3-3更新周期阶段资料(公共)-3-3-11查周期阶段资料列表【目标周期范围内所有周期资料】-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCycleDataObjId(), "D3-3更新周期阶段资料(公共)-3-3-11查周期阶段资料列表【目标周期范围内所有周期资料】-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCycleDataObjTypeCode(), "D3-3更新周期阶段资料(公共)-3-3-11查周期阶段资料列表【目标周期范围内所有周期资料】-周期资料归属对象类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCycleDataTypeCode(), "D3-3更新周期阶段资料(公共)-3-3-11查周期阶段资料列表【目标周期范围内所有周期资料】-周期阶段资料类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCyclePurposeTypeCode(), "D3-3更新周期阶段资料(公共)-3-3-11查周期阶段资料列表【目标周期范围内所有周期资料】-周期资料用途类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getSubjectLifeCycle(), "D3-3更新周期阶段资料(公共)-3-3-11查周期阶段资料列表【目标周期范围内所有周期资料】-主体生命周期不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataList(queryCycleStageDataListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤3: D2获取数据集按入参过滤指定记录(公共) - obtainDataFilterSpecRecByCom
        ObtainDataFilterSpecRecByComRespDto obtainDataFilterSpecRecByComRespDto = null;
        if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
            ObtainDataFilterSpecRecByComReqDto obtainDataFilterSpecRecByComReqDto = new ObtainDataFilterSpecRecByComReqDto();
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                // TODO: 2024/5/28
                obtainDataFilterSpecRecByComReqDto.setDataFilterSpecRecByList(listOmsTspeCycleStageData.stream().map(item -> {
                            DataFilterSpecRecByDto elm = new DataFilterSpecRecByDto();
                            elm.setComTxtField(item.getCycleStageDataId());
                            return elm;
                        })
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1471358_1
            }
            if (reqDto != null) {
                obtainDataFilterSpecRecByComReqDto.setComTxtField(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1471357_1
            }

            /*D2将该执行周期内所有周期阶段资料去除汇报任务总结[7387]   */

            obtainDataFilterSpecRecByComRespDto = interfaceModeService.obtainDataFilterSpecRecByCom(obtainDataFilterSpecRecByComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }

//步骤4: 3-3-11批量修改周期阶段资料 - batchUpdateCycleStageData
        boolean bOOLEAN;
        if (obtainDataFilterSpecRecByComRespDto != null) {
            List<OmsTspeCycleStageData> listOmsTspeCycleStageData_2 = new ArrayList<>();
            if (obtainDataFilterSpecRecByComRespDto != null) {
                //simpleList-to-objLists
                for (DataFilterSpecRecByDto item : obtainDataFilterSpecRecByComRespDto.getDataFilterSpecRecByList()) {
                    OmsTspeCycleStageData oneItem = new OmsTspeCycleStageData();
                    oneItem.setActualEndTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:136032_2
                    oneItem.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:66203_2
                    oneItem.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:66204_2
                    oneItem.setReleaseInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:66205_2
                    oneItem.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:66206_2
                    if (obtainDataFilterSpecRecByComRespDto != null) {
                        oneItem.setCycleStageDataId(item.getComTxtField());//SimpleFieldAssign//sourceId:66202_2
                    }
                    if (receptionServiceRes_1 != null) {
                        oneItem.setReleaseTime(receptionServiceRes_1.getOperateTime());//SimpleFieldAssign//sourceId:66207_2
                    }

                    listOmsTspeCycleStageData_2.add(oneItem);
                }//sourceId:131726_1
            }

            /*3-3-11批量修改周期阶段资料【更新生命周期】[3342]   */

            bOOLEAN = mOmsTspeCycleStageDataService.batchUpdateCycleStageData(listOmsTspeCycleStageData_2)/*vcase invoke 本地 method 方法调用;*/;


        }

        RefreshCycleStageDataComRespDto retData = new RefreshCycleStageDataComRespDto();
        if (receptionServiceRes_2 != null) {
            retData.setOperateTime(receptionServiceRes_2.getOperateTime());//SimpleFieldAssign//sourceId:774786_1
        }


        return retData;
    }

    /**
     * D3-查询汇报任务问题详情(公共)[2897]
     * gen by moon at 7/20/2024, 3:06:35 PM
     */
    @Trace(operationName = "D3-查询汇报任务问题详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryQuestionOfReportingTaskDetailComRespDto queryQuestionOfReportingTaskDetailCom(QueryQuestionOfReportingTaskDetailComReqDto reqDto) {


        TransitionCycleStageDataColumnToRowRespDto columnToRowRes_1 = null;
//步骤0: 3-3-11查询周期阶段资料列表 - queryCycleStageDataList
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        QueryCycleStageDataListReq queryCycleStageDataListReq = new QueryCycleStageDataListReq();
        if (reqDto != null) {
            queryCycleStageDataListReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:441146_1
            queryCycleStageDataListReq.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:92973_1
            queryCycleStageDataListReq.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:518167_1
            queryCycleStageDataListReq.setCycleDataObjTypeCode(reqDto.getCycleDataObjTypeCode());//SimpleFieldAssign//sourceId:92972_1
            queryCycleStageDataListReq.setCycleDataTypeCode(reqDto.getCycleDataTypeCode());//SimpleFieldAssign//sourceId:92967_1
            queryCycleStageDataListReq.setIsInputData(reqDto.getIsInputData());//SimpleFieldAssign//sourceId:92970_1
            queryCycleStageDataListReq.setCyclePurposeTypeCode(reqDto.getCyclePurposeTypeCode());//SimpleFieldAssign//sourceId:92971_1
            queryCycleStageDataListReq.setFilledByInductionId(reqDto.getFilledByInductionId());//SimpleFieldAssign//sourceId:92976_1
            queryCycleStageDataListReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:92978_1
            queryCycleStageDataListReq.setCreateInductionId(reqDto.getCreateInductionId());//SimpleFieldAssign//sourceId:536701_1
        }

        /*3-3-11查询周期阶段资料列表[2673]   */

        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataList(queryCycleStageDataListReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤1: M3-转换周期阶段资料列转行（特殊方法） - transitionCycleStageDataColumnToRow
        //ModelCode: columnToRow
        TransitionCycleStageDataColumnToRowRespDto columnToRowRes = null;
        if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
            TransitionCycleStageDataColumnToRowReqDto columnToRowReq = new TransitionCycleStageDataColumnToRowReqDto();
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                columnToRowReq.setCycleStageDataList(listOmsTspeCycleStageData.stream().map(item -> {
                    CycleStageDataDto elm = BeanUtil.toBean(item, CycleStageDataDto.class);
                    //elm.setCycleStageDataId();//COLUMN_TO_ROW_CODE  TODO ruizhe dong

                    return elm;
                }).collect(Collectors.toList()));//objList-to-objLists//sourceId:92982_1
            }

            /*M3-转换周期阶段资料列转行（特殊方法）[2795]  将多列数据转成一行数据 */

            columnToRowRes = nbCycleStageData.transitionCycleStageDataColumnToRow(columnToRowReq);


            columnToRowRes_1 = columnToRowRes;
        }

        QueryQuestionOfReportingTaskDetailComRespDto retData = new QueryQuestionOfReportingTaskDetailComRespDto();
        if (columnToRowRes_1 != null) {
            retData.setSumOfPro(columnToRowRes_1.getSumOfPro());//SimpleFieldAssign//sourceId:93035_1
            retData.setSolvingIdeas(columnToRowRes_1.getSolvingIdeas());//SimpleFieldAssign//sourceId:93036_1
        }


        return retData;
    }

    /**
     * 11111D3-查询编辑状态周期阶段资料内容详情[3299]
     * gen by moon at 5/23/2024, 11:50:30 PM
     */
    @Trace(operationName = "11111D3-查询编辑状态周期阶段资料内容详情")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryEditStatusCycleStageDataDetailRespDto queryEditStatusCycleStageDataDetail(QueryEditStatusCycleStageDataDetailReqDto reqDto) {


        OmsTspeCycleStageData omsTspeCycleStageData_1 = null;
        QueryBusAppDocRelaListComRespDto queryBusAppDocRelaListComRespDto_1 = null;
        OmsBizAppHypertextContent omsBizAppHypertextContent_1 = null;
        QueryQuestionOfReportingTaskDetailComRespDto queryQuestionOfReportingTaskDetailComRespDto_1 = null;
//步骤0: M3-获取接收字段（特殊方法） - obtainReceiveField
        //ModelCode: receptionService
        ObtainReceiveFieldRespDto receptionServiceRes = null;
        ObtainReceiveFieldReqDto receptionServiceReq = new ObtainReceiveFieldReqDto();
        if (reqDto != null) {
            receptionServiceReq.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:518149_1
            receptionServiceReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:518150_1
        }

        /*M3-获取接收字段（特殊方法）[2451]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getEvaObjTargetCycleId(), "D3-查询编辑状态周期阶段资料内容详情-M3-获取接收字段（特殊方法）-被评对象目标周期ID不能为空", false);
        Assert.isNull(receptionServiceReq.getCycleId(), "D3-查询编辑状态周期阶段资料内容详情-M3-获取接收字段（特殊方法）-周期ID不能为空", false);
        receptionServiceRes = nbCycleStageData.obtainReceiveField(receptionServiceReq);


//步骤1: 3-3-11查周期阶段资料详情 - queryCycleStageDataDetail
        OmsTspeCycleStageData omsTspeCycleStageData = null;
        QueryCycleStageDataDetailReq queryCycleStageDataDetailReq = new QueryCycleStageDataDetailReq();
        queryCycleStageDataDetailReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:127332_1
        if (reqDto != null) {
            queryCycleStageDataDetailReq.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:127330_1
            queryCycleStageDataDetailReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:127331_1
        }

        /*3-3-11查周期阶段资料详情[2771]   */
        Assert.isNull(queryCycleStageDataDetailReq.getCycleStageDataId(), "D3-查询编辑状态周期阶段资料内容详情-3-3-11查周期阶段资料详情-周期阶段资料记录ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getSubjectLifeCycle(), "D3-查询编辑状态周期阶段资料内容详情-3-3-11查周期阶段资料详情-主体生命周期不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getSpaceId(), "D3-查询编辑状态周期阶段资料内容详情-3-3-11查周期阶段资料详情-创建于空间ID不能为空", false);
        omsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataDetail(queryCycleStageDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;
        Assert.isTrue(omsTspeCycleStageData == null || omsTspeCycleStageData.getCycleStageDataId() == null, "找不到数据，系统异常", false);

        omsTspeCycleStageData_1 = omsTspeCycleStageData;

////步骤2: D3-13查询业务应用文档关系列表(公共) - queryBusAppDocRelaListCom
//     QueryBusAppDocRelaListComRespDto queryBusAppDocRelaListComRespDto = null;
//    QueryBusAppDocRelaListComReqDto queryBusAppDocRelaListComReqDto=new QueryBusAppDocRelaListComReqDto();
//  queryBusAppDocRelaListComReqDto.setBaseFileRelationshipType("DIRECT_RELATION");//sourceId:777436_1
//queryBusAppDocRelaListComReqDto.setBizAppFileTypeCode("TARGET_CYCLE_STAGE_DATA");//sourceId:777437_1
//queryBusAppDocRelaListComReqDto.setDocUseType("REPORT_THUMBNAIL");//sourceId:786495_1
//if(reqDto!=null){
//      queryBusAppDocRelaListComReqDto.setEntityId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:777438_1
//    }
//
//    /*D3-13查周期阶段资料9宫格图片[3283]   */
//    Assert.isNull(queryBusAppDocRelaListComReqDto.getBaseFileRelationshipType(),"D3-查询编辑状态周期阶段资料内容详情-D3-13查周期阶段资料9宫格图片-文档内容关系类型编码不能为空",false);
//Assert.isNull(queryBusAppDocRelaListComReqDto.getBizAppFileTypeCode(),"D3-查询编辑状态周期阶段资料内容详情-D3-13查周期阶段资料9宫格图片-业务应用文档归属类型编码不能为空",false);
//Assert.isNull(queryBusAppDocRelaListComReqDto.getDocUseType(),"D3-查询编辑状态周期阶段资料内容详情-D3-13查周期阶段资料9宫格图片-文档用途类型不能为空",false);
//Assert.isNull(queryBusAppDocRelaListComReqDto.getEntityId(),"D3-查询编辑状态周期阶段资料内容详情-D3-13查周期阶段资料9宫格图片-归属内容实例ID不能为空",false);
//      queryBusAppDocRelaListComRespDto = planDataService.queryBusAppDocRelaListCom(queryBusAppDocRelaListComReqDto)/*vcase invoke isSameApp*/;
//
//
//      queryBusAppDocRelaListComRespDto_1 = queryBusAppDocRelaListComRespDto;

        QueryUnstructuredRelationshipListComReqDto req = new QueryUnstructuredRelationshipListComReqDto();

        req.setDocUseSceneCode("PLANNING");
        req.setDocUseType("REPORT_THUMBNAIL");
        req.setOwnEntityId(omsTspeCycleStageData_1.getCycleStageDataId());
        req.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());
        QueryUnstructuredRelationshipListComRespDto res = unstructuredDataService.queryUnstructuredRelationshipListCom(req).getData();

//步骤3: 3-5-02查询业务应用超文本内容详情 - queryBusAppHypertextContentDetail
        OmsBizAppHypertextContent omsBizAppHypertextContent = null;
        QueryBusAppHypertextContentDetailReq queryBusAppHypertextContentDetailReq = new QueryBusAppHypertextContentDetailReq();
        queryBusAppHypertextContentDetailReq.setReleationContTypeCode("CYCLE_STAGE_DATA");//sourceId:222849_1
        queryBusAppHypertextContentDetailReq.setHypertextType("STA_WOR_SUM_CON");//sourceId:222854_1
        if (reqDto != null) {
            queryBusAppHypertextContentDetailReq.setReleationContId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:222850_1
        }

        /*3-5-02查周期阶段资料富文本内容[3140]   */
        Assert.isNull(queryBusAppHypertextContentDetailReq.getReleationContId(), "D3-查询编辑状态周期阶段资料内容详情-3-5-02查周期阶段资料富文本内容-超文本内容关联主键ID不能为空", false);
        Assert.isNull(queryBusAppHypertextContentDetailReq.getReleationContTypeCode(), "D3-查询编辑状态周期阶段资料内容详情-3-5-02查周期阶段资料富文本内容-超文本内容关联类型编码不能为空", false);
        Assert.isNull(queryBusAppHypertextContentDetailReq.getHypertextType(), "D3-查询编辑状态周期阶段资料内容详情-3-5-02查周期阶段资料富文本内容-超文本内容类型不能为空", false);
        omsBizAppHypertextContent = mOmsBizAppHypertextContentService.queryBusAppHypertextContentDetail(queryBusAppHypertextContentDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsBizAppHypertextContent_1 = omsBizAppHypertextContent;

//步骤4: D3-查询汇报任务问题详情(公共) - queryQuestionOfReportingTaskDetailCom
        QueryQuestionOfReportingTaskDetailComRespDto queryQuestionOfReportingTaskDetailComRespDto = null;
        QueryQuestionOfReportingTaskDetailComReqDto queryQuestionOfReportingTaskDetailComReqDto = new QueryQuestionOfReportingTaskDetailComReqDto();
        queryQuestionOfReportingTaskDetailComReqDto.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:518186_1
        queryQuestionOfReportingTaskDetailComReqDto.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:518187_1
        queryQuestionOfReportingTaskDetailComReqDto.setIsInputData("TRUE");//sourceId:518188_1
        queryQuestionOfReportingTaskDetailComReqDto.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:518189_1
        if (reqDto != null) {
            queryQuestionOfReportingTaskDetailComReqDto.setCycleDataObjId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:518163_1
            queryQuestionOfReportingTaskDetailComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:518166_1
            queryQuestionOfReportingTaskDetailComReqDto.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:518191_1
        }

        /*D3-查询汇报任务问题详情(公共)[2897]   */
        Assert.isNull(queryQuestionOfReportingTaskDetailComReqDto.getCycleDataObjId(), "D3-查询编辑状态周期阶段资料内容详情-D3-查询汇报任务问题详情(公共)-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryQuestionOfReportingTaskDetailComReqDto.getCycleId(), "D3-查询编辑状态周期阶段资料内容详情-D3-查询汇报任务问题详情(公共)-周期ID不能为空", false);
        Assert.isNull(queryQuestionOfReportingTaskDetailComReqDto.getSubjectLifeCycle(), "D3-查询编辑状态周期阶段资料内容详情-D3-查询汇报任务问题详情(公共)-主体生命周期不能为空", false);
        Assert.isNull(queryQuestionOfReportingTaskDetailComReqDto.getCycleDataObjTypeCode(), "D3-查询编辑状态周期阶段资料内容详情-D3-查询汇报任务问题详情(公共)-周期资料归属对象类型编码不能为空", false);
        Assert.isNull(queryQuestionOfReportingTaskDetailComReqDto.getCycleDataTypeCode(), "D3-查询编辑状态周期阶段资料内容详情-D3-查询汇报任务问题详情(公共)-周期阶段资料类型编码不能为空", false);
        Assert.isNull(queryQuestionOfReportingTaskDetailComReqDto.getIsInputData(), "D3-查询编辑状态周期阶段资料内容详情-D3-查询汇报任务问题详情(公共)-是否人工输入内容不能为空", false);
        Assert.isNull(queryQuestionOfReportingTaskDetailComReqDto.getCyclePurposeTypeCode(), "D3-查询编辑状态周期阶段资料内容详情-D3-查询汇报任务问题详情(公共)-周期资料用途类型编码不能为空", false);
        queryQuestionOfReportingTaskDetailComRespDto = queryQuestionOfReportingTaskDetailCom(queryQuestionOfReportingTaskDetailComReqDto)/*vcase invoke 同服务,同domain*/;


        queryQuestionOfReportingTaskDetailComRespDto_1 = queryQuestionOfReportingTaskDetailComRespDto;

        QueryEditStatusCycleStageDataDetailRespDto retData = new QueryEditStatusCycleStageDataDetailRespDto();
        if (omsTspeCycleStageData_1 != null) {
            retData.setCycleStageDataId(omsTspeCycleStageData_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:127352_1
            retData.setCycleDataObjId(omsTspeCycleStageData_1.getCycleDataObjId());//SimpleFieldAssign//sourceId:127353_1
            retData.setParentSubMidCycleType(omsTspeCycleStageData_1.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1774954_1
        }
        if (omsBizAppHypertextContent_1 != null) {
            retData.setHypertextContent(omsBizAppHypertextContent_1.getHypertextContent());//SimpleFieldAssign//sourceId:222857_1
        }
        if (queryQuestionOfReportingTaskDetailComRespDto_1 != null) {
            retData.setSumOfPro(queryQuestionOfReportingTaskDetailComRespDto_1.getSumOfPro());//SimpleFieldAssign//sourceId:518192_1
            retData.setSolvingIdeas(queryQuestionOfReportingTaskDetailComRespDto_1.getSolvingIdeas());//SimpleFieldAssign//sourceId:518193_1
        }
        if (res != null) {
            // TODO: 2024/6/11
            retData.setCycleStageAttaPicList(res.getUnstructuredRelationshipList().stream().map(item -> BeanUtil.toBean(item, CycleStageAttaPicDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:777475_1
            for (CycleStageAttaPicDto one : retData.getCycleStageAttaPicList()) {
                one.setFileRelativeAllPathAccess(CommonFunctionHelper.getFilePath(one.getFileRelativePathAccess()));
            }
        }


        return retData;
    }

    /**
     * D3-执行周期阶段资料相关文档处理(公共)[5490]
     * gen by moon at 10/25/2024, 1:25:13 PM
     */
    @Trace(operationName = "D3-执行周期阶段资料相关文档处理(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementHandleCycleStageDataDocComRespDto implementHandleCycleStageDataDocCom(ImplementHandleCycleStageDataDocComReqDto reqDto) {


        ImplementPicDataSetSingleEntryRespDto dataToObjectRes_1 = null;
//virtualUsage D3执行分析是否结果文档(公共)  69851
        ImplementAnalyzeIsResultDocComRespDto implementAnalyzeIsResultDocComRespDto = null;
        ImplementAnalyzeIsResultDocComReqDto implementAnalyzeIsResultDocComReqDto = new ImplementAnalyzeIsResultDocComReqDto();
        if (reqDto != null) {
            implementAnalyzeIsResultDocComReqDto.setIsActualReceptionCycle(reqDto.getIsActualReceptionCycle());//SimpleFieldAssign//sourceId:1860686_1_69851
        }

        /*D3执行分析是否结果文档(公共)[9780]   */

        implementAnalyzeIsResultDocComRespDto = unstructuredDataService.implementAnalyzeIsResultDocCom(implementAnalyzeIsResultDocComReqDto)/*vcase invoke isSameApp*/;


        if ((reqDto != null && reqDto.getDocumentList() != null && reqDto.getDocumentList().size() > 0) && (reqDto != null && reqDto.getHandleDataDocumentScene() != null && reqDto.getHandleDataDocumentScene().equals("HANDLE_THUMBNAIL_DOC") || reqDto != null && reqDto.getHandleDataDocumentScene() != null && reqDto.getHandleDataDocumentScene().equals("HANDLE_THUMBNAIL"))) {
            //if(D3-执行周期阶段资料相关文档处理(公共).文档列表数据集条数 大于 0 and (D3-执行周期阶段资料相关文档处理(公共).处理资料文档关系场景 等于 处理缩略图与附件 or D3-执行周期阶段资料相关文档处理(公共).处理资料文档关系场景 等于 处理缩略图))  32304

            //ModelCode: dataToObject
            ImplementPicDataSetSingleEntryRespDto dataToObjectRes = null;
            ImplementPicDataSetSingleEntryReqDto dataToObjectReq = new ImplementPicDataSetSingleEntryReqDto();
            if (reqDto != null && reqDto.getDocumentList() != null && !CollectionUtil.isEmpty(reqDto.getDocumentList())) {
                dataToObjectReq.setPicDataSetSingleEntryList(reqDto.getDocumentList().stream().map(item -> item.getFileRelativePathAccess())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:527348_1_32306
            }

            /*M执行图片数据集转单条[2799]  用于周期阶段资料内容中提交的多个图片信息，将多张图片信息的地址（数据集）转换到一个字段中存储（根据指定的分隔符分隔） */

            dataToObjectRes = nbCycleStageData.implementPicDataSetSingleEntry(dataToObjectReq);


            dataToObjectRes_1 = dataToObjectRes;
            boolean bOOLEAN;
            OmsTspeCycleStageData omsTspeCycleStageData = new OmsTspeCycleStageData();
            if (reqDto != null) {
                omsTspeCycleStageData.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:527367_1_32307
            }
            if (dataToObjectRes != null) {
                omsTspeCycleStageData.setSummaryDataPic(dataToObjectRes.getDatasetField());//SimpleFieldAssign//sourceId:527368_1_32307
            }

            /*3-3-11修改周期阶段资料[2704]   */
            Assert.isNull(omsTspeCycleStageData.getCycleStageDataId(), "D3-执行周期阶段资料相关文档处理(公共)-3-3-11修改周期阶段资料-周期阶段资料记录ID不能为空", false);
            bOOLEAN = mOmsTspeCycleStageDataService.updateCycleStageData(omsTspeCycleStageData)/*vcase invoke 本地 method 方法调用;*/;


            ImplementSeparateAddOrDeleteDocListComRespDto implementSeparateAddOrDeleteDocListComRespDto = null;
            if (implementAnalyzeIsResultDocComRespDto != null) {
                ImplementSeparateAddOrDeleteDocListComReqDto implementSeparateAddOrDeleteDocListComReqDto = new ImplementSeparateAddOrDeleteDocListComReqDto();
                implementSeparateAddOrDeleteDocListComReqDto.setIsCleanPersonalInvalidDocument("FALSE");//sourceId:1934770_1_69746
                implementSeparateAddOrDeleteDocListComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1854965_1_69746
                if (reqDto != null) {
                    implementSeparateAddOrDeleteDocListComReqDto.setDocUseSceneCode(reqDto.getDocUseSceneCode());//SimpleFieldAssign//sourceId:1854967_1_69746
                    implementSeparateAddOrDeleteDocListComReqDto.setDocUseType(reqDto.getPicDocUseType());//SimpleFieldAssign//sourceId:1854968_1_69746
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnEntityId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1854964_1_69746
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnTableTypeCode(reqDto.getOwnTableTypeCode());//SimpleFieldAssign//sourceId:1854970_1_69746
                    implementSeparateAddOrDeleteDocListComReqDto.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1854976_1_69746
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnWorkCycleId(reqDto.getOwnWorkCycleId());//SimpleFieldAssign//sourceId:1854969_1_69746
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnParentContentTypeCode(reqDto.getOwnParentContentTypeCode());//SimpleFieldAssign//sourceId:1854971_1_69746
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnParentContentCode(reqDto.getOwnParentContentCode());//SimpleFieldAssign//sourceId:1854972_1_69746
                    implementSeparateAddOrDeleteDocListComReqDto.setOwnParentContentId(reqDto.getOwnParentContentId());//SimpleFieldAssign//sourceId:1854973_1_69746
                    implementSeparateAddOrDeleteDocListComReqDto.setThemeContentTypeCode(reqDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1854974_1_69746
                    implementSeparateAddOrDeleteDocListComReqDto.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1854975_1_69746
                }
                if (implementAnalyzeIsResultDocComRespDto != null) {
                    implementSeparateAddOrDeleteDocListComReqDto.setIsResult(implementAnalyzeIsResultDocComRespDto.getIsResult());//SimpleFieldAssign//sourceId:1859366_1_69746
                }
                if (reqDto != null && reqDto.getDocumentList() != null && !CollectionUtil.isEmpty(reqDto.getDocumentList())) {
                    implementSeparateAddOrDeleteDocListComReqDto.setDocumentList(reqDto.getDocumentList().stream().map(item -> BeanUtil.toBean(item, com.wicket.okrcomponent.integration.dto.DocumentDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1854966_1_69746
                }

                /*D2执行分离新增或删除文档列表(公共)[8783]   */
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getIsCleanPersonalInvalidDocument(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-是否清理个人无效文档不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getDocUseSceneCode(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-文档应用业务场景不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getDocUseType(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-文档用途类型不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnEntityId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表主键ID不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getOwnTableTypeCode(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表类型编码不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getUserId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属个人账号不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto.getSpaceId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-创建于空间ID不能为空", false);
                implementSeparateAddOrDeleteDocListComRespDto = unstructuredDataService.implementSeparateAddOrDeleteDocListCom(implementSeparateAddOrDeleteDocListComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        } else if ((reqDto != null && reqDto.getHandleDataDocumentScene() != null && reqDto.getHandleDataDocumentScene().equals("HANDLE_THUMBNAIL_DOC") || reqDto != null && reqDto.getHandleDataDocumentScene() != null && reqDto.getHandleDataDocumentScene().equals("HANDLE_THUMBNAIL")) && (reqDto != null && reqDto.getDocumentList() != null && reqDto.getDocumentList().size() == 0)) {
            //elseif((D3-执行周期阶段资料相关文档处理(公共).处理资料文档关系场景 等于 处理缩略图与附件 or D3-执行周期阶段资料相关文档处理(公共).处理资料文档关系场景 等于 处理缩略图) and D3-执行周期阶段资料相关文档处理(公共).文档列表数据集条数 等于 0)  32308

//ModelCode: receptionService
            ImplementAccessParameterBizFieldRespDto receptionServiceRes = null;
            ImplementAccessParameterBizFieldReqDto receptionServiceReq = new ImplementAccessParameterBizFieldReqDto();
            receptionServiceReq.setCustomField("--");//CUSTOM_CONVENTION//sourceId:731463_1_32309

            /*M3执行获取出入参业务字段（特殊方法）[5797]  用于特殊方法接收上游入参。 */

            receptionServiceRes = nbCycleStageData.implementAccessParameterBizField(receptionServiceReq);


            boolean bOOLEAN_1;
            OmsTspeCycleStageData omsTspeCycleStageData_1 = new OmsTspeCycleStageData();
            if (reqDto != null) {
                omsTspeCycleStageData_1.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:527367_1_32310
            }
            if (receptionServiceRes != null) {
                omsTspeCycleStageData_1.setSummaryDataPic(receptionServiceRes.getCustomField());//SimpleFieldAssign//sourceId:527368_1_32310
            }

            /*3-3-11修改周期阶段资料[2704]   */
            Assert.isNull(omsTspeCycleStageData_1.getCycleStageDataId(), "D3-执行周期阶段资料相关文档处理(公共)-3-3-11修改周期阶段资料-周期阶段资料记录ID不能为空", false);
            bOOLEAN_1 = mOmsTspeCycleStageDataService.updateCycleStageData(omsTspeCycleStageData_1)/*vcase invoke 本地 method 方法调用;*/;


            ImplementSeparateAddOrDeleteDocListComRespDto implementSeparateAddOrDeleteDocListComRespDto_1 = null;
            ImplementSeparateAddOrDeleteDocListComReqDto implementSeparateAddOrDeleteDocListComReqDto_1 = new ImplementSeparateAddOrDeleteDocListComReqDto();
            implementSeparateAddOrDeleteDocListComReqDto_1.setIsCleanPersonalInvalidDocument("FALSE");//sourceId:1934770_1_69747
            implementSeparateAddOrDeleteDocListComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1854965_1_69747
            if (reqDto != null) {
                implementSeparateAddOrDeleteDocListComReqDto_1.setDocUseSceneCode(reqDto.getDocUseSceneCode());//SimpleFieldAssign//sourceId:1854967_1_69747
                implementSeparateAddOrDeleteDocListComReqDto_1.setDocUseType(reqDto.getPicDocUseType());//SimpleFieldAssign//sourceId:1854968_1_69747
                implementSeparateAddOrDeleteDocListComReqDto_1.setOwnEntityId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1854964_1_69747
                implementSeparateAddOrDeleteDocListComReqDto_1.setOwnTableTypeCode(reqDto.getOwnTableTypeCode());//SimpleFieldAssign//sourceId:1854970_1_69747
                implementSeparateAddOrDeleteDocListComReqDto_1.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1854976_1_69747
                implementSeparateAddOrDeleteDocListComReqDto_1.setOwnWorkCycleId(reqDto.getOwnWorkCycleId());//SimpleFieldAssign//sourceId:1854969_1_69747
                implementSeparateAddOrDeleteDocListComReqDto_1.setOwnParentContentTypeCode(reqDto.getOwnParentContentTypeCode());//SimpleFieldAssign//sourceId:1854971_1_69747
                implementSeparateAddOrDeleteDocListComReqDto_1.setOwnParentContentCode(reqDto.getOwnParentContentCode());//SimpleFieldAssign//sourceId:1854972_1_69747
                implementSeparateAddOrDeleteDocListComReqDto_1.setOwnParentContentId(reqDto.getOwnParentContentId());//SimpleFieldAssign//sourceId:1854973_1_69747
                implementSeparateAddOrDeleteDocListComReqDto_1.setThemeContentTypeCode(reqDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1854974_1_69747
                implementSeparateAddOrDeleteDocListComReqDto_1.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1854975_1_69747
            }

            /*D2执行分离新增或删除文档列表(公共)[8783]   */
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getIsCleanPersonalInvalidDocument(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-是否清理个人无效文档不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getDocUseSceneCode(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-文档应用业务场景不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getDocUseType(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-文档用途类型不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getOwnEntityId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表主键ID不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getOwnTableTypeCode(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表类型编码不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getUserId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属个人账号不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_1.getSpaceId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-创建于空间ID不能为空", false);
            implementSeparateAddOrDeleteDocListComRespDto_1 = unstructuredDataService.implementSeparateAddOrDeleteDocListCom(implementSeparateAddOrDeleteDocListComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        if ((reqDto != null && reqDto.getCycleStageDataAttDocList() != null && reqDto.getCycleStageDataAttDocList().size() > 0) && (reqDto != null && reqDto.getHandleDataDocumentScene() != null && reqDto.getHandleDataDocumentScene().equals("HANDLE_THUMBNAIL_DOC") || reqDto != null && reqDto.getHandleDataDocumentScene() != null && reqDto.getHandleDataDocumentScene().equals("HANDLE_DOC"))) {
            //if(D3-执行周期阶段资料相关文档处理(公共).周期阶段资料附件列表数据集条数 大于 0 and (D3-执行周期阶段资料相关文档处理(公共).处理资料文档关系场景 等于 处理缩略图与附件 or D3-执行周期阶段资料相关文档处理(公共).处理资料文档关系场景 等于 处理附件))  34560

            ImplementSeparateAddOrDeleteDocListComRespDto implementSeparateAddOrDeleteDocListComRespDto_2 = null;
            if (implementAnalyzeIsResultDocComRespDto != null) {
                ImplementSeparateAddOrDeleteDocListComReqDto implementSeparateAddOrDeleteDocListComReqDto_2 = new ImplementSeparateAddOrDeleteDocListComReqDto();
                implementSeparateAddOrDeleteDocListComReqDto_2.setIsCleanPersonalInvalidDocument("FALSE");//sourceId:1934770_1_69748
                implementSeparateAddOrDeleteDocListComReqDto_2.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1854965_1_69748
                if (reqDto != null) {
                    implementSeparateAddOrDeleteDocListComReqDto_2.setDocUseSceneCode(reqDto.getDocUseSceneCode());//SimpleFieldAssign//sourceId:1854967_1_69748
                    implementSeparateAddOrDeleteDocListComReqDto_2.setDocUseType(reqDto.getAttDocUseType());//SimpleFieldAssign//sourceId:1854968_1_69748
                    implementSeparateAddOrDeleteDocListComReqDto_2.setOwnEntityId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1854964_1_69748
                    implementSeparateAddOrDeleteDocListComReqDto_2.setOwnTableTypeCode(reqDto.getOwnTableTypeCode());//SimpleFieldAssign//sourceId:1854970_1_69748
                    implementSeparateAddOrDeleteDocListComReqDto_2.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1854976_1_69748
                    implementSeparateAddOrDeleteDocListComReqDto_2.setOwnWorkCycleId(reqDto.getOwnWorkCycleId());//SimpleFieldAssign//sourceId:1854969_1_69748
                    implementSeparateAddOrDeleteDocListComReqDto_2.setOwnParentContentTypeCode(reqDto.getOwnParentContentTypeCode());//SimpleFieldAssign//sourceId:1854971_1_69748
                    implementSeparateAddOrDeleteDocListComReqDto_2.setOwnParentContentCode(reqDto.getOwnParentContentCode());//SimpleFieldAssign//sourceId:1854972_1_69748
                    implementSeparateAddOrDeleteDocListComReqDto_2.setOwnParentContentId(reqDto.getOwnParentContentId());//SimpleFieldAssign//sourceId:1854973_1_69748
                    implementSeparateAddOrDeleteDocListComReqDto_2.setThemeContentTypeCode(reqDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1854974_1_69748
                    implementSeparateAddOrDeleteDocListComReqDto_2.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1854975_1_69748
                }
                if (implementAnalyzeIsResultDocComRespDto != null) {
                    implementSeparateAddOrDeleteDocListComReqDto_2.setIsResult(implementAnalyzeIsResultDocComRespDto.getIsResult());//SimpleFieldAssign//sourceId:1859366_1_69748
                }
                if (reqDto != null && reqDto.getCycleStageDataAttDocList() != null && !CollectionUtil.isEmpty(reqDto.getCycleStageDataAttDocList())) {
                    implementSeparateAddOrDeleteDocListComReqDto_2.setDocumentList(//objList-to-objLists
                            reqDto.getCycleStageDataAttDocList().stream().map(item -> {
                                com.wicket.okrcomponent.integration.dto.DocumentDto elm = new com.wicket.okrcomponent.integration.dto.DocumentDto();
                                if (item != null) {
                                    elm.setUnstructuredDataId(item.getStaWorSumConDocId() != null ? String.valueOf(item.getStaWorSumConDocId()) : "");//SimpleFieldAssign//sourceId:371424_2_69748
                                    elm.setUnstructuredDataName(item.getUnstructuredDataName());//SimpleFieldAssign//sourceId:401511_2_69748
                                    elm.setPostfix(item.getPostfix());//SimpleFieldAssign//sourceId:371428_2_69748
                                    elm.setFileRelativePathAccess(item.getFileRelativePathAccess());//SimpleFieldAssign//sourceId:371429_2_69748
                                    elm.setSourceRelationshipId(item.getSourceRelationshipId());//SimpleFieldAssign//sourceId:371425_2_69748
                                    elm.setRelationshipType(item.getRelationshipType());//SimpleFieldAssign//sourceId:371426_2_69748
                                    elm.setIsNetworkReference(item.getIsNetworkReference());//SimpleFieldAssign//sourceId:371427_2_69748
                                }
                                return elm;
                            }).collect(Collectors.toList()));//objList-to-objLists//sourceId:1854966_1_69748
                }

                /*D2执行分离新增或删除文档列表(公共)[8783]   */
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_2.getIsCleanPersonalInvalidDocument(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-是否清理个人无效文档不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_2.getDocUseSceneCode(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-文档应用业务场景不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_2.getDocUseType(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-文档用途类型不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_2.getOwnEntityId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表主键ID不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_2.getOwnTableTypeCode(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表类型编码不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_2.getUserId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属个人账号不能为空", false);
                Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_2.getSpaceId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-创建于空间ID不能为空", false);
                implementSeparateAddOrDeleteDocListComRespDto_2 = unstructuredDataService.implementSeparateAddOrDeleteDocListCom(implementSeparateAddOrDeleteDocListComReqDto_2).getData()/*vcase invoke 跨dubbo调用;*/;


            }
        } else if ((reqDto != null && reqDto.getHandleDataDocumentScene() != null && reqDto.getHandleDataDocumentScene().equals("HANDLE_THUMBNAIL_DOC") || reqDto != null && reqDto.getHandleDataDocumentScene() != null && reqDto.getHandleDataDocumentScene().equals("HANDLE_DOC")) && (reqDto != null && reqDto.getCycleStageDataAttDocList() != null && reqDto.getCycleStageDataAttDocList().size() == 0)) {
            //elseif((D3-执行周期阶段资料相关文档处理(公共).处理资料文档关系场景 等于 处理缩略图与附件 or D3-执行周期阶段资料相关文档处理(公共).处理资料文档关系场景 等于 处理附件) and D3-执行周期阶段资料相关文档处理(公共).周期阶段资料附件列表数据集条数 等于 0)  34563

            ImplementSeparateAddOrDeleteDocListComRespDto implementSeparateAddOrDeleteDocListComRespDto_3 = null;
            ImplementSeparateAddOrDeleteDocListComReqDto implementSeparateAddOrDeleteDocListComReqDto_3 = new ImplementSeparateAddOrDeleteDocListComReqDto();
            implementSeparateAddOrDeleteDocListComReqDto_3.setIsCleanPersonalInvalidDocument("FALSE");//sourceId:1934770_1_69749
            implementSeparateAddOrDeleteDocListComReqDto_3.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1854965_1_69749
            if (reqDto != null) {
                implementSeparateAddOrDeleteDocListComReqDto_3.setDocUseSceneCode(reqDto.getDocUseSceneCode());//SimpleFieldAssign//sourceId:1854967_1_69749
                implementSeparateAddOrDeleteDocListComReqDto_3.setDocUseType(reqDto.getAttDocUseType());//SimpleFieldAssign//sourceId:1854968_1_69749
                implementSeparateAddOrDeleteDocListComReqDto_3.setOwnEntityId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1854964_1_69749
                implementSeparateAddOrDeleteDocListComReqDto_3.setOwnTableTypeCode(reqDto.getOwnTableTypeCode());//SimpleFieldAssign//sourceId:1854970_1_69749
                implementSeparateAddOrDeleteDocListComReqDto_3.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1854976_1_69749
                implementSeparateAddOrDeleteDocListComReqDto_3.setOwnWorkCycleId(reqDto.getOwnWorkCycleId());//SimpleFieldAssign//sourceId:1854969_1_69749
                implementSeparateAddOrDeleteDocListComReqDto_3.setOwnParentContentTypeCode(reqDto.getOwnParentContentTypeCode());//SimpleFieldAssign//sourceId:1854971_1_69749
                implementSeparateAddOrDeleteDocListComReqDto_3.setOwnParentContentCode(reqDto.getOwnParentContentCode());//SimpleFieldAssign//sourceId:1854972_1_69749
                implementSeparateAddOrDeleteDocListComReqDto_3.setOwnParentContentId(reqDto.getOwnParentContentId());//SimpleFieldAssign//sourceId:1854973_1_69749
                implementSeparateAddOrDeleteDocListComReqDto_3.setThemeContentTypeCode(reqDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1854974_1_69749
                implementSeparateAddOrDeleteDocListComReqDto_3.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1854975_1_69749
            }

            /*D2执行分离新增或删除文档列表(公共)[8783]   */
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_3.getIsCleanPersonalInvalidDocument(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-是否清理个人无效文档不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_3.getDocUseSceneCode(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-文档应用业务场景不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_3.getDocUseType(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-文档用途类型不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_3.getOwnEntityId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表主键ID不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_3.getOwnTableTypeCode(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属内容表类型编码不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_3.getUserId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-归属个人账号不能为空", false);
            Assert.isNull(implementSeparateAddOrDeleteDocListComReqDto_3.getSpaceId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行分离新增或删除文档列表(公共)-创建于空间ID不能为空", false);
            implementSeparateAddOrDeleteDocListComRespDto_3 = unstructuredDataService.implementSeparateAddOrDeleteDocListCom(implementSeparateAddOrDeleteDocListComReqDto_3).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D2查平台文件存储根路径配置答案（公共）  71628
        QueryConfItemMatchAnswerDetailComRespDto queryConfItemMatchAnswerDetailComRespDto = null;
        QueryConfItemMatchAnswerDetailComReqDto queryConfItemMatchAnswerDetailComReqDto = new QueryConfItemMatchAnswerDetailComReqDto();
        queryConfItemMatchAnswerDetailComReqDto.setConfItemCode("FILE_STORAGE_ROOT_PATH");//CUSTOM_CONVENTION//sourceId:1934769_1_71628
        queryConfItemMatchAnswerDetailComReqDto.setConfSchemeCode("COM_CONF_SCHEME");//CUSTOM_CONVENTION//sourceId:1934767_1_71628
        queryConfItemMatchAnswerDetailComReqDto.setIsPlatData("TRUE");//sourceId:1934768_1_71628

        /*D2查平台文件存储根路径配置答案（公共）[2486]   */
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfItemCode(), "D3-执行周期阶段资料相关文档处理(公共)-D2查平台文件存储根路径配置答案（公共）-配置项标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getConfSchemeCode(), "D3-执行周期阶段资料相关文档处理(公共)-D2查平台文件存储根路径配置答案（公共）-配置方案标识不能为空", false);
        Assert.isNull(queryConfItemMatchAnswerDetailComReqDto.getIsPlatData(), "D3-执行周期阶段资料相关文档处理(公共)-D2查平台文件存储根路径配置答案（公共）-是否标准答案不能为空", false);
        queryConfItemMatchAnswerDetailComRespDto = confSchemeService.queryConfItemMatchAnswerDetailCom(queryConfItemMatchAnswerDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D2执行清理个人用户无效文件(公共)  71629
        ImplementClearMemberInvalidDocComRespDto implementClearMemberInvalidDocComRespDto = null;
        if (queryConfItemMatchAnswerDetailComRespDto != null) {
            ImplementClearMemberInvalidDocComReqDto implementClearMemberInvalidDocComReqDto = new ImplementClearMemberInvalidDocComReqDto();
            implementClearMemberInvalidDocComReqDto.setIsCleanPersonalInvalidDocument("TRUE");//sourceId:1934743_1_71629
            if (reqDto != null) {
                implementClearMemberInvalidDocComReqDto.setUserId(reqDto.getUserId());//SimpleFieldAssign//sourceId:1934741_1_71629
            }
            if (queryConfItemMatchAnswerDetailComRespDto != null) {
                implementClearMemberInvalidDocComReqDto.setFileStorageRootPath(queryConfItemMatchAnswerDetailComRespDto.getEndValue());//SimpleFieldAssign//sourceId:1934742_1_71629
            }

            /*D2执行清理个人用户无效文件(公共)[8792]   */
            Assert.isNull(implementClearMemberInvalidDocComReqDto.getIsCleanPersonalInvalidDocument(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行清理个人用户无效文件(公共)-是否清理个人无效文档不能为空", false);
            Assert.isNull(implementClearMemberInvalidDocComReqDto.getUserId(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行清理个人用户无效文件(公共)-归属个人账号不能为空", false);
            Assert.isNull(implementClearMemberInvalidDocComReqDto.getFileStorageRootPath(), "D3-执行周期阶段资料相关文档处理(公共)-D2执行清理个人用户无效文件(公共)-文件存储根路径不能为空", false);
            implementClearMemberInvalidDocComRespDto = unstructuredDataService.implementClearMemberInvalidDocCom(implementClearMemberInvalidDocComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        ImplementHandleCycleStageDataDocComRespDto retData = new ImplementHandleCycleStageDataDocComRespDto();
        if (dataToObjectRes_1 != null) {
            retData.setSummaryDataPic(dataToObjectRes_1.getDatasetField());//SimpleFieldAssign//sourceId:1327076_1
        }


        return retData;
    }

    /**
     * D3-执行阶段工作总结内容资料处理(公共)[5488]
     * gen by moon at 11/9/2023, 10:27:29 PM
     */
    @Trace(operationName = "D3-执行阶段工作总结内容资料处理(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementHandleStaWorSumConComRespDto implementHandleStaWorSumConCom(ImplementHandleStaWorSumConComReqDto reqDto) {


        if ((reqDto != null && reqDto.getStaWorSumCon() != null)) {
            //if(D3-执行阶段工作总结内容资料处理(公共).阶段工作总结内容 值不等于空 )  52669

            boolean bOOLEAN;
            OmsTspeCycleStageData omsTspeCycleStageData = new OmsTspeCycleStageData();
            if (reqDto != null) {
                omsTspeCycleStageData.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1072565_1_52671
                omsTspeCycleStageData.setTextSummaryData(reqDto.getTextSummaryData());//SimpleFieldAssign//sourceId:1072566_1_52671
            }

            /*3-3-11修改周期阶段资料[2704]   */
            Assert.isNull(omsTspeCycleStageData.getCycleStageDataId(), "D3-执行阶段工作总结内容资料处理(公共)-3-3-11修改周期阶段资料-周期阶段资料记录ID不能为空", false);
            bOOLEAN = mOmsTspeCycleStageDataService.updateCycleStageData(omsTspeCycleStageData)/*vcase invoke 本地 method 方法调用;*/;


            OmsBizAppHypertextContent omsBizAppHypertextContent = null;
            QueryBusAppHypertextContentDetailReq queryBusAppHypertextContentDetailReq = new QueryBusAppHypertextContentDetailReq();
            if (reqDto != null) {
                queryBusAppHypertextContentDetailReq.setReleationContId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:525797_1_52672
                queryBusAppHypertextContentDetailReq.setReleationContTypeCode(reqDto.getReleationContTypeCode());//SimpleFieldAssign//sourceId:525796_1_52672
                queryBusAppHypertextContentDetailReq.setHypertextType(reqDto.getHypertextType());//SimpleFieldAssign//sourceId:525801_1_52672
                queryBusAppHypertextContentDetailReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1042742_1_52672
            }

            /*3-5-02查询业务应用超文本内容详情[3140]   */
            Assert.isNull(queryBusAppHypertextContentDetailReq.getReleationContId(), "D3-执行阶段工作总结内容资料处理(公共)-3-5-02查询业务应用超文本内容详情-超文本内容关联主键ID不能为空", false);
            Assert.isNull(queryBusAppHypertextContentDetailReq.getReleationContTypeCode(), "D3-执行阶段工作总结内容资料处理(公共)-3-5-02查询业务应用超文本内容详情-超文本内容关联类型编码不能为空", false);
            Assert.isNull(queryBusAppHypertextContentDetailReq.getHypertextType(), "D3-执行阶段工作总结内容资料处理(公共)-3-5-02查询业务应用超文本内容详情-超文本内容类型不能为空", false);
            Assert.isNull(queryBusAppHypertextContentDetailReq.getThemeContentId(), "D3-执行阶段工作总结内容资料处理(公共)-3-5-02查询业务应用超文本内容详情-主题内容ID不能为空", false);
            omsBizAppHypertextContent = mOmsBizAppHypertextContentService.queryBusAppHypertextContentDetail(queryBusAppHypertextContentDetailReq)/*vcase invoke 本地 method 方法调用;*/;


            if ((omsBizAppHypertextContent == null)) {
                //if(3-5-02查超文本内容详情.出参 值等于空 )  52673

                String string = null;
                OmsBizAppHypertextContent omsBizAppHypertextContent_2 = new OmsBizAppHypertextContent();
                if (reqDto != null) {
                    omsBizAppHypertextContent_2.setReleationContId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:525803_1_52674
                    omsBizAppHypertextContent_2.setHypertextContent(reqDto.getStaWorSumCon());//SimpleFieldAssign//sourceId:525804_1_52674
                    omsBizAppHypertextContent_2.setReleationContTypeCode(reqDto.getReleationContTypeCode());//SimpleFieldAssign//sourceId:525802_1_52674
                    omsBizAppHypertextContent_2.setHypertextType(reqDto.getHypertextType());//SimpleFieldAssign//sourceId:525806_1_52674
                    omsBizAppHypertextContent_2.setThemeContentTypeCode(reqDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1280132_1_52674
                    omsBizAppHypertextContent_2.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1042738_1_52674
                }

                /*3-5-2新增超文本内容[3136]   */
                Assert.isNull(omsBizAppHypertextContent_2.getReleationContId(), "D3-执行阶段工作总结内容资料处理(公共)-3-5-2新增超文本内容-超文本内容关联主键ID不能为空", false);
                Assert.isNull(omsBizAppHypertextContent_2.getHypertextContent(), "D3-执行阶段工作总结内容资料处理(公共)-3-5-2新增超文本内容-超文本内容不能为空", false);
                Assert.isNull(omsBizAppHypertextContent_2.getReleationContTypeCode(), "D3-执行阶段工作总结内容资料处理(公共)-3-5-2新增超文本内容-超文本内容关联类型编码不能为空", false);
                Assert.isNull(omsBizAppHypertextContent_2.getHypertextType(), "D3-执行阶段工作总结内容资料处理(公共)-3-5-2新增超文本内容-超文本内容类型不能为空", false);
                string = mOmsBizAppHypertextContentService.addHypertextContent(omsBizAppHypertextContent_2)/*vcase invoke 本地 method 方法调用;*/;


            } else if ((omsBizAppHypertextContent != null)) {
                //elseif(3-5-02查询业务应用超文本内容详情.出参 值不等于空 )  52682

                boolean bOOLEAN_1;
                if (omsBizAppHypertextContent != null) {
                    OmsBizAppHypertextContent omsBizAppHypertextContent_3 = new OmsBizAppHypertextContent();
                    omsBizAppHypertextContent_3.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:525809_1_52683
                    omsBizAppHypertextContent_3.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:525810_1_52683
                    if (omsBizAppHypertextContent != null) {
                        omsBizAppHypertextContent_3.setHypertextContentId(omsBizAppHypertextContent.getHypertextContentId());//SimpleFieldAssign//sourceId:525807_1_52683
                    }
                    if (reqDto != null) {
                        omsBizAppHypertextContent_3.setHypertextContent(reqDto.getStaWorSumCon());//SimpleFieldAssign//sourceId:525808_1_52683
                    }

                    /*3-3-05修改超文本内容[3626]   */
                    Assert.isNull(omsBizAppHypertextContent_3.getHypertextContentId(), "D3-执行阶段工作总结内容资料处理(公共)-3-3-05修改超文本内容-超文本内容ID不能为空", false);
                    Assert.isNull(omsBizAppHypertextContent_3.getHypertextContent(), "D3-执行阶段工作总结内容资料处理(公共)-3-3-05修改超文本内容-超文本内容不能为空", false);
                    Assert.isNull(omsBizAppHypertextContent_3.getOperationInductionId(), "D3-执行阶段工作总结内容资料处理(公共)-3-3-05修改超文本内容-操作人就职记录ID不能为空", false);
                    Assert.isNull(omsBizAppHypertextContent_3.getOperateTime(), "D3-执行阶段工作总结内容资料处理(公共)-3-3-05修改超文本内容-操作时间不能为空", false);
                    bOOLEAN_1 = mOmsBizAppHypertextContentService.updateHypertextContent(omsBizAppHypertextContent_3)/*vcase invoke 本地 method 方法调用;*/;


                }
            } else {
                //else  52684

//异常结束 52685
                throw new BizException("500", "系统异常，请联系管理员！", false);
            }
        }
        ImplementHandleStaWorSumConComRespDto retData = new ImplementHandleStaWorSumConComRespDto();


        return retData;
    }

    /**
     * D3-执行解决思路资料处理(公共)[5487]
     * gen by moon at 7/1/2023, 2:31:26 PM
     */
    @Trace(operationName = "D3-执行解决思路资料处理(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementHandleSolvingIdeasComRespDto implementHandleSolvingIdeasCom(ImplementHandleSolvingIdeasComReqDto reqDto) {


        //virtualUsage 3-3-11查周期阶段资料详情  25381
        OmsTspeCycleStageData omsTspeCycleStageData = null;
        QueryCycleStageDataDetailReq queryCycleStageDataDetailReq = new QueryCycleStageDataDetailReq();
        queryCycleStageDataDetailReq.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:525263_1_25381
        queryCycleStageDataDetailReq.setIsInputData("TRUE");//sourceId:525259_1_25381
        queryCycleStageDataDetailReq.setStageContentType("SOLVING_IDEAS");//sourceId:525262_1_25381
        queryCycleStageDataDetailReq.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:525261_1_25381
        queryCycleStageDataDetailReq.setCreateInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:525783_1_25381
        queryCycleStageDataDetailReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:525255_1_25381
        queryCycleStageDataDetailReq.setSubjectLifeCycle("EDITING");//sourceId:536585_1_25381
        if (reqDto != null) {
            queryCycleStageDataDetailReq.setCycleDataObjId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:525264_1_25381
            queryCycleStageDataDetailReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:525269_1_25381
        }

        /*3-3-11查周期阶段资料详情[2771]   */
        Assert.isNull(queryCycleStageDataDetailReq.getCycleDataObjId(), "D3-执行解决思路资料处理(公共)-3-3-11查周期阶段资料详情-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getCycleDataObjTypeCode(), "D3-执行解决思路资料处理(公共)-3-3-11查周期阶段资料详情-周期资料归属对象类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getCycleId(), "D3-执行解决思路资料处理(公共)-3-3-11查周期阶段资料详情-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getIsInputData(), "D3-执行解决思路资料处理(公共)-3-3-11查周期阶段资料详情-是否人工输入内容不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getStageContentType(), "D3-执行解决思路资料处理(公共)-3-3-11查周期阶段资料详情-内容性质类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getCycleDataTypeCode(), "D3-执行解决思路资料处理(公共)-3-3-11查周期阶段资料详情-周期阶段资料类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getCreateInductionId(), "D3-执行解决思路资料处理(公共)-3-3-11查周期阶段资料详情-创建人就职记录ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getSpaceId(), "D3-执行解决思路资料处理(公共)-3-3-11查周期阶段资料详情-创建于空间ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getSubjectLifeCycle(), "D3-执行解决思路资料处理(公共)-3-3-11查周期阶段资料详情-主体生命周期不能为空", false);
        omsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataDetail(queryCycleStageDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((omsTspeCycleStageData == null)) {
            //if(3-3-11查周期阶段资料详情.出参 值等于空 )  25382

            String string = null;
            OmsTspeCycleStageData omsTspeCycleStageData_2 = new OmsTspeCycleStageData();
            omsTspeCycleStageData_2.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:525219_1_25383
            omsTspeCycleStageData_2.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:525216_1_25383
            omsTspeCycleStageData_2.setStageContentType("SOLVING_IDEAS");//sourceId:525226_1_25383
            omsTspeCycleStageData_2.setIsInputData("TRUE");//sourceId:525217_1_25383
            omsTspeCycleStageData_2.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:525218_1_25383
            omsTspeCycleStageData_2.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:1072924_1_25383
            if (reqDto != null) {
                omsTspeCycleStageData_2.setStageData(reqDto.getSolvingIdeas());//SimpleFieldAssign//sourceId:525227_1_25383
                omsTspeCycleStageData_2.setCycleDataObjId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:525220_1_25383
                omsTspeCycleStageData_2.setEvaObjTargetCycleCode(reqDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:525239_1_25383
                omsTspeCycleStageData_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:525229_1_25383
                omsTspeCycleStageData_2.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:525236_1_25383
                omsTspeCycleStageData_2.setIsPlanReceptionCycle(reqDto.getIsPlanReceptionCycle());//SimpleFieldAssign//sourceId:525237_1_25383
                omsTspeCycleStageData_2.setIsActualReceptionCycle(reqDto.getIsActualReceptionCycle());//SimpleFieldAssign//sourceId:525238_1_25383
                omsTspeCycleStageData_2.setActualStartTime(reqDto.getActualStartTime());//SimpleFieldAssign//sourceId:525232_1_25383
                omsTspeCycleStageData_2.setBelongToContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:525230_1_25383
                omsTspeCycleStageData_2.setBelongToContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:525231_1_25383
                omsTspeCycleStageData_2.setEvaluationFillRoleId(reqDto.getEvaluationFillRoleId());//SimpleFieldAssign//sourceId:525223_1_25383
                omsTspeCycleStageData_2.setFilledByInductionId(reqDto.getFilledByInductionId());//SimpleFieldAssign//sourceId:525221_1_25383
                omsTspeCycleStageData_2.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:525224_1_25383
                omsTspeCycleStageData_2.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1072925_1_25383
            }

            /*3-3-11新增周期阶段资料[2420]   */
            Assert.isNull(omsTspeCycleStageData_2.getStageData(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-阶段资料具体内容不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getCycleDataObjTypeCode(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-周期资料归属对象类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getCycleDataObjId(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-周期资料归属对象ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getEvaObjTargetCycleCode(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-被评对象目标周期标识不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getCycleId(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-周期ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getCycleStandardName(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-周期名称不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getIsPlanReceptionCycle(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-是否计划验收周期不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getIsActualReceptionCycle(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-是否实际验收周期不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getActualStartTime(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-任务实际开始时间不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getBelongToContentTypeCode(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-归属内容类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getBelongToContentId(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-归属内容ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getCycleDataTypeCode(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-周期阶段资料类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getStageContentType(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-内容性质类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getIsInputData(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-是否人工输入内容不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getCyclePurposeTypeCode(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-周期资料用途类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getEvaluationFillRoleId(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-填报角色ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getFilledByInductionId(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-内容责任人就职记录ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getSubjectLifeCycle(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-主体生命周期不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getThemeContentTypeCode(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-主题内容类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getThemeContentId(), "D3-执行解决思路资料处理(公共)-3-3-11新增周期阶段资料-主题内容ID不能为空", false);
            string = mOmsTspeCycleStageDataService.addCycleStageData(omsTspeCycleStageData_2)/*vcase invoke 本地 method 方法调用;*/;


        } else {
            //else  25384

            boolean bOOLEAN;
            if (omsTspeCycleStageData != null) {
                OmsTspeCycleStageData omsTspeCycleStageData_3 = new OmsTspeCycleStageData();
                if (omsTspeCycleStageData != null) {
                    omsTspeCycleStageData_3.setCycleStageDataId(omsTspeCycleStageData.getCycleStageDataId());//SimpleFieldAssign//sourceId:525240_1_25385
                }
                if (reqDto != null) {
                    omsTspeCycleStageData_3.setStageData(reqDto.getSolvingIdeas());//SimpleFieldAssign//sourceId:525241_1_25385
                }

                /*3-3-11修改周期阶段资料[2704]   */
                Assert.isNull(omsTspeCycleStageData_3.getCycleStageDataId(), "D3-执行解决思路资料处理(公共)-3-3-11修改周期阶段资料-周期阶段资料记录ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getStageData(), "D3-执行解决思路资料处理(公共)-3-3-11修改周期阶段资料-阶段资料具体内容不能为空", false);
                bOOLEAN = mOmsTspeCycleStageDataService.updateCycleStageData(omsTspeCycleStageData_3)/*vcase invoke 本地 method 方法调用;*/;


            }
        }
        ImplementHandleSolvingIdeasComRespDto retData = new ImplementHandleSolvingIdeasComRespDto();


        return retData;
    }

    /**
     * D3-执行周期阶段资料处理（问题总结、解决思路）[5486]
     * gen by moon at 7/20/2024, 3:07:26 PM
     */
    @Trace(operationName = "D3-执行周期阶段资料处理（问题总结、解决思路）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementHandleSumOfProComRespDto implementHandleSumOfProCom(ImplementHandleSumOfProComReqDto reqDto) {


        //virtualUsage 3-3-11查周期阶段资料详情  25375
        OmsTspeCycleStageData omsTspeCycleStageData = null;
        QueryCycleStageDataDetailReq queryCycleStageDataDetailReq = new QueryCycleStageDataDetailReq();
        queryCycleStageDataDetailReq.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:524642_1_25375
        queryCycleStageDataDetailReq.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:524640_1_25375
        queryCycleStageDataDetailReq.setIsInputData("TRUE");//sourceId:524638_1_25375
        queryCycleStageDataDetailReq.setCreateInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:525782_1_25375
        queryCycleStageDataDetailReq.setSubjectLifeCycle("EDITING");//sourceId:536573_1_25375
        queryCycleStageDataDetailReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:524634_1_25375
        if (reqDto != null) {
            queryCycleStageDataDetailReq.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1939223_1_25375
            queryCycleStageDataDetailReq.setCycleDataObjId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:524643_1_25375
            queryCycleStageDataDetailReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:524648_1_25375
            queryCycleStageDataDetailReq.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:524641_1_25375
        }

        /*3-3-11查周期阶段资料详情[2771]   */
        Assert.isNull(queryCycleStageDataDetailReq.getCycleDataObjId(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11查周期阶段资料详情-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getCycleDataObjTypeCode(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11查周期阶段资料详情-周期资料归属对象类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getCycleId(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11查周期阶段资料详情-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getStageContentType(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11查周期阶段资料详情-内容性质类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getCycleDataTypeCode(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11查周期阶段资料详情-周期阶段资料类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getIsInputData(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11查周期阶段资料详情-是否人工输入内容不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getCreateInductionId(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11查周期阶段资料详情-创建人就职记录ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getSubjectLifeCycle(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11查周期阶段资料详情-主体生命周期不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getSpaceId(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11查周期阶段资料详情-创建于空间ID不能为空", false);
        omsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataDetail(queryCycleStageDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((omsTspeCycleStageData == null && reqDto != null && reqDto.getStageData() != null)) {
            //if((3-3-11查周期阶段资料详情.出参 值等于空  and D3-执行问题总结资料处理(公共).阶段资料具体内容 值不等于空 ))  25376

            String string = null;
            OmsTspeCycleStageData omsTspeCycleStageData_2 = new OmsTspeCycleStageData();
            omsTspeCycleStageData_2.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:524659_1_25377
            omsTspeCycleStageData_2.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:524656_1_25377
            omsTspeCycleStageData_2.setIsInputData("TRUE");//sourceId:524657_1_25377
            omsTspeCycleStageData_2.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:524658_1_25377
            omsTspeCycleStageData_2.setThemeContentTypeCode("OMS_EVALUATION_TEMPLATE");//sourceId:1072914_1_25377
            if (reqDto != null) {
                omsTspeCycleStageData_2.setStageData(reqDto.getStageData());//SimpleFieldAssign//sourceId:524667_1_25377
                omsTspeCycleStageData_2.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1939222_1_25377
                omsTspeCycleStageData_2.setCycleDataObjId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:524660_1_25377
                omsTspeCycleStageData_2.setEvaObjTargetCycleCode(reqDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:524679_1_25377
                omsTspeCycleStageData_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:524669_1_25377
                omsTspeCycleStageData_2.setCycleStandardName(reqDto.getCycleStandardName());//SimpleFieldAssign//sourceId:524676_1_25377
                omsTspeCycleStageData_2.setIsPlanReceptionCycle(reqDto.getIsPlanReceptionCycle());//SimpleFieldAssign//sourceId:525179_1_25377
                omsTspeCycleStageData_2.setIsActualReceptionCycle(reqDto.getIsActualReceptionCycle());//SimpleFieldAssign//sourceId:525180_1_25377
                omsTspeCycleStageData_2.setActualStartTime(reqDto.getActualStartTime());//SimpleFieldAssign//sourceId:525181_1_25377
                omsTspeCycleStageData_2.setBelongToContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:524670_1_25377
                omsTspeCycleStageData_2.setBelongToContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:524671_1_25377
                omsTspeCycleStageData_2.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:524666_1_25377
                omsTspeCycleStageData_2.setFilledByInductionId(reqDto.getFilledByInductionId());//SimpleFieldAssign//sourceId:524661_1_25377
                omsTspeCycleStageData_2.setEvaluationFillRoleId(reqDto.getEvaluationFillRoleId());//SimpleFieldAssign//sourceId:524663_1_25377
                omsTspeCycleStageData_2.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:524664_1_25377
                omsTspeCycleStageData_2.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1072915_1_25377
            }

            /*3-3-11新增周期阶段资料[2420]   */
            Assert.isNull(omsTspeCycleStageData_2.getStageData(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-阶段资料具体内容不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getCycleDataObjTypeCode(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-周期资料归属对象类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getCycleDataObjId(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-周期资料归属对象ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getEvaObjTargetCycleCode(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-被评对象目标周期标识不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getBelongToContentTypeCode(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-归属内容类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getBelongToContentId(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-归属内容ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getCycleDataTypeCode(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-周期阶段资料类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getStageContentType(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-内容性质类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getIsInputData(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-是否人工输入内容不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getCyclePurposeTypeCode(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-周期资料用途类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getFilledByInductionId(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-内容责任人就职记录ID不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getEvaluationFillRoleId(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-角色标识不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getSubjectLifeCycle(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-主体生命周期不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getThemeContentTypeCode(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-主题内容类型编码不能为空", false);
            Assert.isNull(omsTspeCycleStageData_2.getThemeContentId(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11新增周期阶段资料-主题内容ID不能为空", false);
            string = mOmsTspeCycleStageDataService.addCycleStageData(omsTspeCycleStageData_2)/*vcase invoke 本地 method 方法调用;*/;


        } else if ((omsTspeCycleStageData != null && reqDto != null && reqDto.getStageData() != null)) {
            //elseif((3-3-11查周期阶段资料详情.出参 值不等于空  and D3-执行问题总结资料处理(公共).阶段资料具体内容 值不等于空 ))  25378

            boolean bOOLEAN;
            if (omsTspeCycleStageData != null) {
                OmsTspeCycleStageData omsTspeCycleStageData_3 = new OmsTspeCycleStageData();
                if (omsTspeCycleStageData != null) {
                    omsTspeCycleStageData_3.setCycleStageDataId(omsTspeCycleStageData.getCycleStageDataId());//SimpleFieldAssign//sourceId:524680_1_25379
                }
                if (reqDto != null) {
                    omsTspeCycleStageData_3.setStageData(reqDto.getStageData());//SimpleFieldAssign//sourceId:524681_1_25379
                }

                /*3-3-11修改周期阶段资料[2704]   */
                Assert.isNull(omsTspeCycleStageData_3.getCycleStageDataId(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11修改周期阶段资料-周期阶段资料记录ID不能为空", false);
                Assert.isNull(omsTspeCycleStageData_3.getStageData(), "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11修改周期阶段资料-阶段资料具体内容不能为空", false);
                bOOLEAN = mOmsTspeCycleStageDataService.updateCycleStageData(omsTspeCycleStageData_3)/*vcase invoke 本地 method 方法调用;*/;


            }
        } else if ((omsTspeCycleStageData != null && reqDto != null && reqDto.getStageData() == null)) {
            //elseif((3-3-11查周期阶段资料详情.出参 值不等于空  and D3-执行问题总结资料处理(公共).阶段资料具体内容 值等于空 ))  49887

            boolean bOOLEAN_1;
            if (omsTspeCycleStageData != null) {
                String string_2 = new String();
                if (omsTspeCycleStageData != null) {
                    string_2 = omsTspeCycleStageData.getCycleStageDataId();
                    ;//SimpleFieldAssign//sourceId:1169697_1_49888
                }

                /*3-3-11删除周期阶段资料[4214]   */
                Assert.isNull(string_2, "D3-执行周期阶段资料处理（问题总结、解决思路）-3-3-11删除周期阶段资料-周期阶段资料记录ID不能为空", false);
                bOOLEAN_1 = mOmsTspeCycleStageDataService.deleteCycleStageData(string_2)/*vcase invoke 本地 method 方法调用;*/;


            }
        }
        ImplementHandleSumOfProComRespDto retData = new ImplementHandleSumOfProComRespDto();


        return retData;
    }

    /**
     * D3-执行分析工作周期更新切片（公共）[6275]
     * gen by moon at 4/26/2023, 12:34:56 AM
     */
    @Trace(operationName = "D3-执行分析工作周期更新切片（公共）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementAnalyseWorkCycleUpdateSliceComRespDto implementAnalyseWorkCycleUpdateSliceCom(ImplementAnalyseWorkCycleUpdateSliceComReqDto reqDto) {


        GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto_1 = null;
//virtualUsage D2-执行标准时间转换为字符串(公共)  36770
        ImplementTimeTurnToStringComRespDto implementTimeTurnToStringComRespDto = null;
        ImplementTimeTurnToStringComReqDto implementTimeTurnToStringComReqDto = new ImplementTimeTurnToStringComReqDto();
        if (reqDto != null) {
            implementTimeTurnToStringComReqDto.setComTimeField(reqDto.getCycleStartTime());//SimpleFieldAssign//sourceId:857591_1_36770
        }

        /*D2-执行标准时间转换为字符串(公共)[6274]   */
        Assert.isNull(implementTimeTurnToStringComReqDto.getComTimeField(), "D3-执行分析工作周期更新切片（公共）-D2-执行标准时间转换为字符串(公共)-通用时间字段不能为空", false);
        implementTimeTurnToStringComRespDto = interfaceModeService.implementTimeTurnToStringCom(implementTimeTurnToStringComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D2-执行标准时间转换为字符串(公共)  38130
        ImplementTimeTurnToStringComRespDto implementTimeTurnToStringComRespDto_2 = null;
        ImplementTimeTurnToStringComReqDto implementTimeTurnToStringComReqDto_1 = new ImplementTimeTurnToStringComReqDto();
        if (reqDto != null) {
            implementTimeTurnToStringComReqDto_1.setComTimeField(reqDto.getCycleEndTime());//SimpleFieldAssign//sourceId:857591_1_38130
        }

        /*D2-执行标准时间转换为字符串(公共)[6274]   */
        Assert.isNull(implementTimeTurnToStringComReqDto_1.getComTimeField(), "D3-执行分析工作周期更新切片（公共）-D2-执行标准时间转换为字符串(公共)-通用时间字段不能为空", false);
        implementTimeTurnToStringComRespDto_2 = interfaceModeService.implementTimeTurnToStringCom(implementTimeTurnToStringComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


//virtualUsage D2生成时间周期等语义内容服务(公共)  36774
        GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto = null;
        if (implementTimeTurnToStringComRespDto != null && implementTimeTurnToStringComRespDto_2 != null) {
            GenerateTimeCycleEtcSemanticInstanceComReqDto generateTimeCycleEtcSemanticInstanceComReqDto = new GenerateTimeCycleEtcSemanticInstanceComReqDto();
            generateTimeCycleEtcSemanticInstanceComReqDto.setTemplateSemanticEngineCode("WORK_CYCLE_UPDATE_SLICE");//CUSTOM_CONVENTION//sourceId:822819_1_36774
            if (reqDto != null) {
                generateTimeCycleEtcSemanticInstanceComReqDto.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:862073_1_36774
                generateTimeCycleEtcSemanticInstanceComReqDto.setCustomField3(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:862144_1_36774
            }
            if (implementTimeTurnToStringComRespDto != null) {
                generateTimeCycleEtcSemanticInstanceComReqDto.setCustomField1(implementTimeTurnToStringComRespDto.getComTxtField());//SimpleFieldAssign//sourceId:862142_1_36774
            }
            if (implementTimeTurnToStringComRespDto_2 != null) {
                generateTimeCycleEtcSemanticInstanceComReqDto.setCustomField2(implementTimeTurnToStringComRespDto_2.getComTxtField());//SimpleFieldAssign//sourceId:862143_1_36774
            }

            /*D2生成时间周期等语义内容服务(公共)[5030]   */
            Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "D3-执行分析工作周期更新切片（公共）-D2生成时间周期等语义内容服务(公共)-模板引擎标识不能为空", false);
            Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getParentSubMidCycleType(), "D3-执行分析工作周期更新切片（公共）-D2生成时间周期等语义内容服务(公共)-父子中周期类型不能为空", false);
            Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getCustomField1(), "D3-执行分析工作周期更新切片（公共）-D2生成时间周期等语义内容服务(公共)-执行周期开始时间时间戳不能为空", false);
            Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getCustomField2(), "D3-执行分析工作周期更新切片（公共）-D2生成时间周期等语义内容服务(公共)-执行周期结束时间时间戳不能为空", false);
            Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getCustomField3(), "D3-执行分析工作周期更新切片（公共）-D2生成时间周期等语义内容服务(公共)-被评对象目标周期ID不能为空", false);
            generateTimeCycleEtcSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateTimeCycleEtcSemanticInstanceCom(generateTimeCycleEtcSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            generateTimeCycleEtcSemanticInstanceComRespDto_1 = generateTimeCycleEtcSemanticInstanceComRespDto;
        }
        ImplementAnalyseWorkCycleUpdateSliceComRespDto retData = new ImplementAnalyseWorkCycleUpdateSliceComRespDto();
        if (generateTimeCycleEtcSemanticInstanceComRespDto_1 != null) {
            retData.setWorkCycleUpdateSlice(generateTimeCycleEtcSemanticInstanceComRespDto_1.getObjectName());//SimpleFieldAssign//sourceId:822823_1
        }


        return retData;
    }

    /**
     * D3执行分析是否工作周期(公共)[6270]
     * gen by moon at 4/15/2023, 2:54:59 PM
     */
    @Trace(operationName = "D3执行分析是否工作周期(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementAnalyseIsWorkCycleComRespDto implementAnalyseIsWorkCycleCom(ImplementAnalyseIsWorkCycleComReqDto reqDto) {


        ImplementAcceptFieldRespDto receptionServiceRes_3 = null;
//virtualUsage 3-3-09周期查目标周期（用于判断是否工作周期）  36736
        OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle = null;
        QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq = new QueryEvaObjTargetCycleDetailReq();
        queryEvaObjTargetCycleDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:820876_1_36736
        if (reqDto != null) {
            queryEvaObjTargetCycleDetailReq.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:820873_1_36736
            queryEvaObjTargetCycleDetailReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:820874_1_36736
            queryEvaObjTargetCycleDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:820875_1_36736
        }

        /*3-3-09周期查目标周期（用于判断是否工作周期）[2313]   */
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaObjTargetCycleId(), "D3执行分析是否工作周期(公共)-3-3-09周期查目标周期（用于判断是否工作周期）-被评对象目标周期ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getCycleId(), "D3执行分析是否工作周期(公共)-3-3-09周期查目标周期（用于判断是否工作周期）-周期ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaluationTemplateId(), "D3执行分析是否工作周期(公共)-3-3-09周期查目标周期（用于判断是否工作周期）-冗余评价模板ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getSubjectLifeCycle(), "D3执行分析是否工作周期(公共)-3-3-09周期查目标周期（用于判断是否工作周期）-主体生命周期不能为空", false);
        omsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((omsEvaluationObjectTargetCycle == null)) {
            //if(3-3-09周期查目标周期（用于判断是否工作周期）.出参 值等于空 )  36737

//ModelCode: receptionService
            ImplementAcceptFieldRespDto receptionServiceRes = null;
            ImplementAcceptFieldReqDto receptionServiceReq = new ImplementAcceptFieldReqDto();
            receptionServiceReq.setIsProcessCycleStage("TRUE");//sourceId:827313_1_36739

            /*M3约定为【过程周期】[6100]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq.getIsProcessCycleStage(), "D3执行分析是否工作周期(公共)-M3约定为【过程周期】-是否过程周期阶段不能为空", false);
            receptionServiceRes = nbCycleStageData.implementAcceptField(receptionServiceReq);


//ModelCode: receptionService
            ImplementAcceptFieldRespDto receptionServiceRes_2 = null;
            ImplementAcceptFieldReqDto receptionServiceReq_1 = new ImplementAcceptFieldReqDto();
            if (receptionServiceRes != null) {
                receptionServiceReq_1.setIsProcessCycleStage(receptionServiceRes.getIsProcessCycleStage());//SimpleFieldAssign//sourceId:827312_1_36740
            }

            /*M3接收上文出参的是否过程周期阶段[6100]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getIsProcessCycleStage(), "D3执行分析是否工作周期(公共)-M3接收上文出参的是否过程周期阶段-是否过程周期阶段不能为空", false);
            receptionServiceRes_2 = nbCycleStageData.implementAcceptField(receptionServiceReq_1);


            receptionServiceRes_3 = receptionServiceRes_2;
        } else if ((omsEvaluationObjectTargetCycle != null)) {
            //elseif(3-3-09周期查目标周期（用于判断是否工作周期）.出参 值不等于空 )  36738

//ModelCode: receptionService
            ImplementAcceptFieldRespDto receptionServiceRes_4 = null;
            ImplementAcceptFieldReqDto receptionServiceReq_2 = new ImplementAcceptFieldReqDto();
            receptionServiceReq_2.setIsProcessCycleStage("FALSE");//sourceId:827316_1_36741

            /*M3约定为【非过程周期】[6100]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_2.getIsProcessCycleStage(), "D3执行分析是否工作周期(公共)-M3约定为【非过程周期】-是否过程周期阶段不能为空", false);
            receptionServiceRes_4 = nbCycleStageData.implementAcceptField(receptionServiceReq_2);


//ModelCode: receptionService
            ImplementAcceptFieldRespDto receptionServiceRes_6 = null;
            ImplementAcceptFieldReqDto receptionServiceReq_3 = new ImplementAcceptFieldReqDto();
            if (receptionServiceRes_4 != null) {
                receptionServiceReq_3.setIsProcessCycleStage(receptionServiceRes_4.getIsProcessCycleStage());//SimpleFieldAssign//sourceId:827312_1_36742
            }

            /*M3接收上文出参的是否过程周期阶段[6100]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_3.getIsProcessCycleStage(), "D3执行分析是否工作周期(公共)-M3接收上文出参的是否过程周期阶段-是否过程周期阶段不能为空", false);
            receptionServiceRes_6 = nbCycleStageData.implementAcceptField(receptionServiceReq_3);


            receptionServiceRes_3 = receptionServiceRes_6;
        }
        ImplementAnalyseIsWorkCycleComRespDto retData = new ImplementAnalyseIsWorkCycleComRespDto();
        if (receptionServiceRes_3 != null) {
            retData.setIsProcessCycleStage(receptionServiceRes_3.getIsProcessCycleStage());//SimpleFieldAssign//sourceId:827315_1
        }


        return retData;
    }

    /**
     * D3-批量查询周期阶段资料列表（by目标周期ID）[6360]
     * gen by moon at 10/23/2023, 3:24:24 AM
     */
    @Trace(operationName = "D3-批量查询周期阶段资料列表（by目标周期ID）")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryCycleStageDataListByIdsComRespDto batchQueryCycleStageDataListByIdsCom(BatchQueryCycleStageDataListByIdsComReqDto reqDto) {


        List<OmsTspeCycleStageData> listOmsTspeCycleStageData_1 = new ArrayList<>();
        List<OmsBizAppHypertextContent> listOmsBizAppHypertextContent_1 = new ArrayList<>();
//步骤0: 3-3-11批量查询周期阶段资料列表ByIds - batchQueryCycleStageDataListByIds
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        BatchQueryCycleStageDataListByIdsReq batchQueryCycleStageDataListByIdsReq = new BatchQueryCycleStageDataListByIdsReq();
        batchQueryCycleStageDataListByIdsReq.setCycleDataObjTypeCode("EVA_OBJ_TARGET_CYCLE");//sourceId:860025_1
        batchQueryCycleStageDataListByIdsReq.setIsArchive("FALSE");//sourceId:1192670_1
        batchQueryCycleStageDataListByIdsReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:860023_1
        if (reqDto != null) {
            batchQueryCycleStageDataListByIdsReq.setCycleStageDataList(reqDto.getCycleStageDataList());//list-field-assign//sourceId:860020_1
            batchQueryCycleStageDataListByIdsReq.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:1193348_1
            batchQueryCycleStageDataListByIdsReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:860022_1
            batchQueryCycleStageDataListByIdsReq.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1192668_1
            batchQueryCycleStageDataListByIdsReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1192131_1
        }

        /*3-3-11批量查询周期阶段资料列表ByIds[4225]   */
        Assert.isNull(batchQueryCycleStageDataListByIdsReq.getCycleDataObjTypeCode(), "D3-批量查询周期阶段资料列表（by目标周期ID）-3-3-11批量查询周期阶段资料列表ByIds-周期资料归属对象类型编码不能为空", false);
        Assert.isNull(batchQueryCycleStageDataListByIdsReq.getThemeContentId(), "D3-批量查询周期阶段资料列表（by目标周期ID）-3-3-11批量查询周期阶段资料列表ByIds-主题内容ID不能为空", false);
        Assert.isNull(batchQueryCycleStageDataListByIdsReq.getIsArchive(), "D3-批量查询周期阶段资料列表（by目标周期ID）-3-3-11批量查询周期阶段资料列表ByIds-是否存档不能为空", false);
        Assert.isNull(batchQueryCycleStageDataListByIdsReq.getSpaceId(), "D3-批量查询周期阶段资料列表（by目标周期ID）-3-3-11批量查询周期阶段资料列表ByIds-创建于空间ID不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.batchQueryCycleStageDataListByIds(batchQueryCycleStageDataListByIdsReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsTspeCycleStageData_1 = listOmsTspeCycleStageData;

//步骤1: 3-5-2批量查询超文本内容 - batchQueryHypertextContent
        List<OmsBizAppHypertextContent> listOmsBizAppHypertextContent = new ArrayList<>();
        if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
            BatchQueryHypertextContentReq batchQueryHypertextContentReq = new BatchQueryHypertextContentReq();
            batchQueryHypertextContentReq.setReleationContTypeCode("CYCLE_STAGE_DATA");//sourceId:1192129_1
            batchQueryHypertextContentReq.setHypertextType("STA_WOR_SUM_CON");//sourceId:1192136_1
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                batchQueryHypertextContentReq.setHypertextContentList(listOmsTspeCycleStageData.stream().map(item -> item.getCycleStageDataId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1192127_1
            }
            if (reqDto != null) {
                batchQueryHypertextContentReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1192134_1
            }

            /*3-5-2批量查询超文本内容[4226]   */
            Assert.isNull(batchQueryHypertextContentReq.getReleationContTypeCode(), "D3-批量查询周期阶段资料列表（by目标周期ID）-3-5-2批量查询超文本内容-超文本内容关联类型编码不能为空", false);
            Assert.isNull(batchQueryHypertextContentReq.getHypertextType(), "D3-批量查询周期阶段资料列表（by目标周期ID）-3-5-2批量查询超文本内容-超文本内容类型不能为空", false);
            Assert.isNull(batchQueryHypertextContentReq.getThemeContentId(), "D3-批量查询周期阶段资料列表（by目标周期ID）-3-5-2批量查询超文本内容-主题内容ID不能为空", false);
            listOmsBizAppHypertextContent = mOmsBizAppHypertextContentService.batchQueryHypertextContent(batchQueryHypertextContentReq)/*vcase invoke 本地 method 方法调用;*/;


            listOmsBizAppHypertextContent_1 = listOmsBizAppHypertextContent;
        }

        BatchQueryCycleStageDataListByIdsComRespDto retData = new BatchQueryCycleStageDataListByIdsComRespDto();
        //数据集融合  MoreListToOneSource
        if (listOmsTspeCycleStageData_1 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1) && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1)) {
            for (OmsTspeCycleStageData omsTspeCycleStageData : listOmsTspeCycleStageData_1) {
                CycleStageDataDto retElm = new CycleStageDataDto();
                retElm.setCycleStageDataId(omsTspeCycleStageData.getCycleStageDataId());//SimpleFieldAssign//sourceId:246625_2
                retElm.setEvaObjTargetCycleId(omsTspeCycleStageData.getCycleDataObjId());//SimpleFieldAssign//sourceId:188805_2
                retElm.setTaskId(omsTspeCycleStageData.getTaskId());//SimpleFieldAssign//sourceId:246621_2
                retElm.setCycleId(omsTspeCycleStageData.getCycleId());//SimpleFieldAssign//sourceId:246885_2
                retElm.setCycleStandardName(omsTspeCycleStageData.getCycleStandardName());//SimpleFieldAssign//sourceId:248819_2
                retElm.setTargetCycleContentId(omsTspeCycleStageData.getBelongToContentId());//SimpleFieldAssign//sourceId:188812_2
                retElm.setTargetCycleContentTypeCode(omsTspeCycleStageData.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:248803_2
                retElm.setStageContentType(omsTspeCycleStageData.getStageContentType());//SimpleFieldAssign//sourceId:246644_2
                retElm.setStageData(omsTspeCycleStageData.getStageData());//SimpleFieldAssign//sourceId:246805_2
                retElm.setSummaryDataPic(omsTspeCycleStageData.getSummaryDataPic());//SimpleFieldAssign//sourceId:246793_2
                retElm.setIsDoneEvaluate(omsTspeCycleStageData.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:246622_2
                retElm.setIsDoneFilleout(omsTspeCycleStageData.getIsDoneFilleout());//SimpleFieldAssign//sourceId:246623_2
                retElm.setActualStartTime(omsTspeCycleStageData.getActualStartTime());//SimpleFieldAssign//sourceId:246874_2
                retElm.setActualEndTime(omsTspeCycleStageData.getActualEndTime());//SimpleFieldAssign//sourceId:246875_2
                retData.getCycleStageDataList().add(retElm);
                if (listOmsBizAppHypertextContent_1 != null && !CollectionUtil.isEmpty(listOmsBizAppHypertextContent_1)) {
                    for (OmsBizAppHypertextContent omsBizAppHypertextContent : listOmsBizAppHypertextContent_1) {
                        if (omsBizAppHypertextContent.getReleationContId().equals(omsTspeCycleStageData.getCycleStageDataId())) {
                            retElm.setHypertextContent(omsBizAppHypertextContent.getHypertextContent());//SimpleFieldAssign//sourceId:246624_2
                        }
                    }
                }

            }
        }//sourceId:860041_1


        return retData;
    }

    /**
     * D3批量删周期阶段资料(公共)[7081]
     * gen by moon at 6/9/2024, 1:07:58 AM
     */
    @Trace(operationName = "D3批量删周期阶段资料(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchDeleteCycleStageDataComRespDto batchDeleteCycleStageDataCom(BatchDeleteCycleStageDataComReqDto reqDto) {


        //virtualUsage 3-3-11批量查正在编辑的周期阶段资料（用于删除）  51462
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        BatchQueryCycleStageDataListByIdsReq batchQueryCycleStageDataListByIdsReq = new BatchQueryCycleStageDataListByIdsReq();
        batchQueryCycleStageDataListByIdsReq.setSubjectLifeCycle("EDITING");//sourceId:1223888_1_51462
        batchQueryCycleStageDataListByIdsReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1001073_1_51462
        if (reqDto != null) {
            batchQueryCycleStageDataListByIdsReq.setCycleStageDataList(reqDto.getCycleStageDataList());//list-field-assign//sourceId:1001070_1_51462
        }

        /*3-3-11批量查正在编辑的周期阶段资料（用于删除）[4225]   */
        Assert.isNull(batchQueryCycleStageDataListByIdsReq.getSubjectLifeCycle(), "D3批量删周期阶段资料(公共)-3-3-11批量查正在编辑的周期阶段资料（用于删除）-主体生命周期不能为空", false);
        Assert.isNull(batchQueryCycleStageDataListByIdsReq.getSpaceId(), "D3批量删周期阶段资料(公共)-3-3-11批量查正在编辑的周期阶段资料（用于删除）-创建于空间ID不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.batchQueryCycleStageDataListByIds(batchQueryCycleStageDataListByIdsReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((listOmsTspeCycleStageData != null && listOmsTspeCycleStageData != null && listOmsTspeCycleStageData.size() > 0)) {
            //if(3-3-11批量查正在编辑的周期阶段资料（用于删除）.周期阶段资料列表数据集条数 大于 0)  51463

            boolean bOOLEAN;
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
                List<String> listString = new ArrayList<>();
                if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                    listString = listOmsTspeCycleStageData.stream().map(item -> item.getCycleStageDataId())
                            .collect(Collectors.toList());/*list-to-strings*///sourceId:1001080_1_51464
                }

                /*3-3-11批量删周期阶段资料[4220]   */

                bOOLEAN = mOmsTspeCycleStageDataService.batchDeleteCycleStageData(listString)/*vcase invoke 本地 method 方法调用;*/;


            }
//ModelCode: circulationCollections
            for (OmsTspeCycleStageData circulationCollectionsRes : listOmsTspeCycleStageData) {

                BatchDeleteDocRelOrDocComRespDto batchDeleteDocRelOrDocComRespDto = null;
                BatchDeleteDocRelOrDocComReqDto batchDeleteDocRelOrDocComReqDto = new BatchDeleteDocRelOrDocComReqDto();
                batchDeleteDocRelOrDocComReqDto.setDocUseSceneCode("PLANNING");//sourceId:1857773_1_69806
                batchDeleteDocRelOrDocComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1857780_1_69806
                if (circulationCollectionsRes != null) {
                    batchDeleteDocRelOrDocComReqDto.setOwnEntityId(circulationCollectionsRes.getCycleStageDataId());//SimpleFieldAssign//sourceId:1857777_1_69806
                }

                /*D2批量删文档关系或文档(公共)[9755]   */
                Assert.isNull(batchDeleteDocRelOrDocComReqDto.getDocUseSceneCode(), "D3批量删周期阶段资料(公共)-D2批量删文档关系或文档(公共)-文档应用业务场景不能为空", false);
                Assert.isNull(batchDeleteDocRelOrDocComReqDto.getOwnEntityId(), "D3批量删周期阶段资料(公共)-D2批量删文档关系或文档(公共)-归属内容表主键ID不能为空", false);
                Assert.isNull(batchDeleteDocRelOrDocComReqDto.getSpaceId(), "D3批量删周期阶段资料(公共)-D2批量删文档关系或文档(公共)-创建于空间ID不能为空", false);
                batchDeleteDocRelOrDocComRespDto = unstructuredDataService.batchDeleteDocRelOrDocCom(batchDeleteDocRelOrDocComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//ModelCode: circulationEnd
            }

        }
        BatchDeleteCycleStageDataComRespDto retData = new BatchDeleteCycleStageDataComRespDto();


        return retData;
    }

    /**
     * D3-执行周期阶段资料发送消息处理(公共)[7317]
     * gen by moon at 1/11/2024, 2:25:54 PM
     */
    @Trace(operationName = "D3-执行周期阶段资料发送消息处理(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementCycleStageDataMessageComRespDto implementCycleStageDataMessageCom(ImplementCycleStageDataMessageComReqDto reqDto) {


        //virtualUsage D3执行内容发消息内容准备(公共)  58514
        ImplementWrokContentSendMsgContentPreparationComRespDto implementWrokContentSendMsgContentPreparationComRespDto = null;
        ImplementWrokContentSendMsgContentPreparationComReqDto implementWrokContentSendMsgContentPreparationComReqDto = new ImplementWrokContentSendMsgContentPreparationComReqDto();
        implementWrokContentSendMsgContentPreparationComReqDto.setSendMsgScene("GENERATE_REPORT_TASK_PROBLEM");//sourceId:1467388_1_58514
        implementWrokContentSendMsgContentPreparationComReqDto.setTableTypeCode("OMS_TSPE_CYCLE_STAGE_DATA");//sourceId:1467385_1_58514
        implementWrokContentSendMsgContentPreparationComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1467387_1_58514
        if (reqDto != null) {
            implementWrokContentSendMsgContentPreparationComReqDto.setEntityId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1467386_1_58514
            implementWrokContentSendMsgContentPreparationComReqDto.setTaskName(reqDto.getTaskName());//SimpleFieldAssign//sourceId:1468481_1_58514
        }

        /*D3执行内容发消息内容准备(公共)[8256]   */
        Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getSendMsgScene(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行内容发消息内容准备(公共)-发送消息场景不能为空", false);
        Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getTableTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行内容发消息内容准备(公共)-冗余内容表类型编码不能为空", false);
        Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getEntityId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行内容发消息内容准备(公共)-冗余内容表主键ID不能为空", false);
        Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getTaskName(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行内容发消息内容准备(公共)-任务名称不能为空", false);
        Assert.isNull(implementWrokContentSendMsgContentPreparationComReqDto.getSpaceId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行内容发消息内容准备(公共)-创建于空间ID不能为空", false);
        implementWrokContentSendMsgContentPreparationComRespDto = workTasksService.implementWrokContentSendMsgContentPreparationCom(implementWrokContentSendMsgContentPreparationComReqDto)/*vcase invoke isSameApp*/;


//virtualUsage D3-执行汇报任务责任人内容名称等准备(公共)  58521
        ImplementReportTaskMessagePrepareNewComRespDto implementReportTaskMessagePrepareNewComRespDto = null;
        ImplementReportTaskMessagePrepareNewComReqDto implementReportTaskMessagePrepareNewComReqDto = new ImplementReportTaskMessagePrepareNewComReqDto();
        if (reqDto != null) {
            implementReportTaskMessagePrepareNewComReqDto.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1467531_1_58521
            implementReportTaskMessagePrepareNewComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1467453_1_58521
            implementReportTaskMessagePrepareNewComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1467445_1_58521
            implementReportTaskMessagePrepareNewComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1467446_1_58521
//implementReportTaskMessagePrepareNewComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:1467454_1_58521
            implementReportTaskMessagePrepareNewComReqDto.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1467447_1_58521
        }

        /*D3-执行汇报任务责任人内容名称等准备(公共)[8245]   */
        Assert.isNull(implementReportTaskMessagePrepareNewComReqDto.getCycleStageDataId(), "D3-执行周期阶段资料发送消息处理(公共)-D3-执行汇报任务责任人内容名称等准备(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(implementReportTaskMessagePrepareNewComReqDto.getCycleId(), "D3-执行周期阶段资料发送消息处理(公共)-D3-执行汇报任务责任人内容名称等准备(公共)-周期ID不能为空", false);
        Assert.isNull(implementReportTaskMessagePrepareNewComReqDto.getTargetCycleContentId(), "D3-执行周期阶段资料发送消息处理(公共)-D3-执行汇报任务责任人内容名称等准备(公共)-关联目标内容ID不能为空", false);
        Assert.isNull(implementReportTaskMessagePrepareNewComReqDto.getTargetCycleContentTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3-执行汇报任务责任人内容名称等准备(公共)-关联目标内容类型编码不能为空", false);
//Assert.isNull(implementReportTaskMessagePrepareNewComReqDto.getTargetId(),"D3-执行周期阶段资料发送消息处理(公共)-D3-执行汇报任务责任人内容名称等准备(公共)-冗余目标ID不能为空",false);
        Assert.isNull(implementReportTaskMessagePrepareNewComReqDto.getEvaluationTemplateId(), "D3-执行周期阶段资料发送消息处理(公共)-D3-执行汇报任务责任人内容名称等准备(公共)-冗余评价模板ID不能为空", false);
        implementReportTaskMessagePrepareNewComRespDto = taskService.implementReportTaskMessagePrepareNewCom(implementReportTaskMessagePrepareNewComReqDto)/*vcase invoke isSameApp*/;


//virtualUsage 3-3-11查问题总结周期资料详请  58498
        OmsTspeCycleStageData omsTspeCycleStageData = null;
        QueryCycleStageDataDetailReq queryCycleStageDataDetailReq = new QueryCycleStageDataDetailReq();
        queryCycleStageDataDetailReq.setStageContentType("SUM_OF_PRO");//sourceId:1467184_1_58498
        if (reqDto != null) {
            queryCycleStageDataDetailReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1467183_1_58498
            queryCycleStageDataDetailReq.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:1467185_1_58498
            queryCycleStageDataDetailReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1467186_1_58498
        }

        /*3-3-11查问题总结周期资料详请[2771]   */
        Assert.isNull(queryCycleStageDataDetailReq.getCycleId(), "D3-执行周期阶段资料发送消息处理(公共)-3-3-11查问题总结周期资料详请-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getCycleDataObjId(), "D3-执行周期阶段资料发送消息处理(公共)-3-3-11查问题总结周期资料详请-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getStageContentType(), "D3-执行周期阶段资料发送消息处理(公共)-3-3-11查问题总结周期资料详请-内容性质类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getThemeContentId(), "D3-执行周期阶段资料发送消息处理(公共)-3-3-11查问题总结周期资料详请-主题内容ID不能为空", false);
        omsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataDetail(queryCycleStageDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((omsTspeCycleStageData != null)) {
            //if(3-3-11查问题总结周期资料详请.出参 值不等于空 )  58499

            ImplementCreateMsgAndNumComRespDto implementCreateMsgAndNumComRespDto = null;
            if (implementReportTaskMessagePrepareNewComRespDto != null && implementWrokContentSendMsgContentPreparationComRespDto != null && omsTspeCycleStageData != null) {
                ImplementCreateMsgAndNumComReqDto implementCreateMsgAndNumComReqDto = new ImplementCreateMsgAndNumComReqDto();
                implementCreateMsgAndNumComReqDto.setMsgAndLocUsageScene("TARGET_PLAN_SCENE");//sourceId:1467014_1_58500
                implementCreateMsgAndNumComReqDto.setSendMsgScene("GENERATE_REPORT_TASK_PROBLEM");//sourceId:1467015_1_58500
                implementCreateMsgAndNumComReqDto.setMessageReceiverType("BY_VIRTUAL_ORG_MEM");//sourceId:1467016_1_58500
                implementCreateMsgAndNumComReqDto.setSendMsgTechnologyMode("LABOUR_SEND_PRINCIPAL");//sourceId:1467017_1_58500
                implementCreateMsgAndNumComReqDto.setMsgTableTypeCode("OMS_TSPE_CYCLE_STAGE_DATA");//sourceId:1467033_1_58500
                implementCreateMsgAndNumComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1467023_1_58500
                implementCreateMsgAndNumComReqDto.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1467035_1_58500
                implementCreateMsgAndNumComReqDto.setPlatformReplace("FALSE");//sourceId:1467050_1_58500
                implementCreateMsgAndNumComReqDto.setMsgChannelClassCode("CONTENT_COMMUNICATION");//sourceId:1467043_1_58500
                implementCreateMsgAndNumComReqDto.setMessageChannelTypeCode("GROUP_SESSION");//sourceId:1467044_1_58500
                implementCreateMsgAndNumComReqDto.setMessageLocationCode("CONTENT_COMMUNICATION");//CUSTOM_CONVENTION//sourceId:1467045_1_58500
                implementCreateMsgAndNumComReqDto.setMessageTemplateCode("GENERATE_REPORT_TASK_PROBLEM_MSG_TEMP");//CUSTOM_CONVENTION//sourceId:1467046_1_58500
                implementCreateMsgAndNumComReqDto.setHandleType("NO_NEED_HANDLING");//sourceId:1467047_1_58500
                implementCreateMsgAndNumComReqDto.setMessageImportantLevel(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:1467051_1_58500
                implementCreateMsgAndNumComReqDto.setMsgTitleTemplateSemanticEngineCode("GENERATE_REPORT_TASK_PROBLEM_MSG_TITLE");//CUSTOM_CONVENTION//sourceId:1467030_1_58500
                implementCreateMsgAndNumComReqDto.setTitleFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1467031_1_58500
                implementCreateMsgAndNumComReqDto.setFirstFieldName("questionIntroduce");//CUSTOM_CONVENTION//sourceId:1467024_1_58500
                implementCreateMsgAndNumComReqDto.setSecondFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1467026_1_58500
                implementCreateMsgAndNumComReqDto.setThirdFieldName("cycleStandardName");//CUSTOM_CONVENTION//sourceId:1467028_1_58500
                if (implementReportTaskMessagePrepareNewComRespDto != null) {
                    implementCreateMsgAndNumComReqDto.setNewTableTypeCode(implementReportTaskMessagePrepareNewComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1467019_1_58500
                    implementCreateMsgAndNumComReqDto.setTableTypeCode(implementReportTaskMessagePrepareNewComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1467021_1_58500
                    implementCreateMsgAndNumComReqDto.setTitleFieldValue(implementReportTaskMessagePrepareNewComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1467032_1_58500
                    implementCreateMsgAndNumComReqDto.setSecondFieldValue(implementReportTaskMessagePrepareNewComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1467027_1_58500
                    implementCreateMsgAndNumComReqDto.setThirdFieldValue(implementReportTaskMessagePrepareNewComRespDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1467029_1_58500
                }
                if (reqDto != null) {
                    implementCreateMsgAndNumComReqDto.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1478728_1_58500
                    implementCreateMsgAndNumComReqDto.setNewEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1467020_1_58500
                    implementCreateMsgAndNumComReqDto.setEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1467022_1_58500
                    implementCreateMsgAndNumComReqDto.setMsgEntiyId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1467034_1_58500
                }
                if (implementWrokContentSendMsgContentPreparationComRespDto != null) {
                    implementCreateMsgAndNumComReqDto.setCooperateContentTypeCode(implementWrokContentSendMsgContentPreparationComRespDto.getCooperateContentTypeCode());//SimpleFieldAssign//sourceId:1467038_1_58500
                    implementCreateMsgAndNumComReqDto.setCooperateContentId(implementWrokContentSendMsgContentPreparationComRespDto.getCooperateContentId());//SimpleFieldAssign//sourceId:1467039_1_58500
                    implementCreateMsgAndNumComReqDto.setSurfaceContName(implementWrokContentSendMsgContentPreparationComRespDto.getSurfaceContName());//SimpleFieldAssign//sourceId:1467040_1_58500
                    implementCreateMsgAndNumComReqDto.setMediaType(implementWrokContentSendMsgContentPreparationComRespDto.getMediaType());//SimpleFieldAssign//sourceId:1467041_1_58500
                    implementCreateMsgAndNumComReqDto.setMediaAddress(implementWrokContentSendMsgContentPreparationComRespDto.getMediaAddress());//SimpleFieldAssign//sourceId:1467042_1_58500
                    implementCreateMsgAndNumComReqDto.setThemeContentTypeCode(implementWrokContentSendMsgContentPreparationComRespDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1467036_1_58500
                    implementCreateMsgAndNumComReqDto.setThemeContentId(implementWrokContentSendMsgContentPreparationComRespDto.getThemeContentId());//SimpleFieldAssign//sourceId:1467037_1_58500
                }
                if (omsTspeCycleStageData != null) {
                    implementCreateMsgAndNumComReqDto.setFirstFieldValue(omsTspeCycleStageData.getStageData());//SimpleFieldAssign//sourceId:1467025_1_58500
                }

                /*D3执行发问题总结消息及数量(公共)[8243]   */
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgAndLocUsageScene(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-消息及位置使用场景不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getSendMsgScene(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-发送消息场景不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageReceiverType(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-消息接收方类型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getSendMsgTechnologyMode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-发送消息技术模型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getNewTableTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-通道归属主体内容类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getNewEntityId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-通道归属主体内容ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getTableTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-小圈子内容表类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getEntityId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-小圈子内容表主键ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgTableTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-消息内容表类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgEntiyId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-消息内容表主键ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getCooperateContentTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-协同内容类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getCooperateContentId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-协同内容ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getSurfaceContName(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-协同内容名称不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getThemeContentTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-主题内容类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getThemeContentId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-主题内容ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getSpaceId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-创建于空间ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getAppId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-创建于联盟应用ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getPlatformReplace(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-是否平台代操作不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgChannelClassCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-消息使用通道类别不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageChannelTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-通道类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageLocationCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-消息位置标识不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageTemplateCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-消息模板标识不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getHandleType(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-处理类型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMessageImportantLevel(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-消息重要紧急度层级不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getMsgTitleTemplateSemanticEngineCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-消息标题模板引擎标识不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getTitleFieldName(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-标题字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getTitleFieldValue(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-标题字段字段值不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getFirstFieldName(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-第一个字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getFirstFieldValue(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-第一个字段字段值不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getSecondFieldName(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-第二个字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getSecondFieldValue(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-第二个字段字段值不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getThirdFieldName(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-第三个字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto.getThirdFieldValue(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发问题总结消息及数量(公共)-第三个字段字段值不能为空", false);
                implementCreateMsgAndNumComRespDto = messageService.implementCreateMsgAndNumCom(implementCreateMsgAndNumComReqDto)/*vcase invoke isSameApp*/;


            }
        }
//virtualUsage 3-3-11查解决思路周期阶段资料详情  58502
        OmsTspeCycleStageData omsTspeCycleStageData_2 = null;
        QueryCycleStageDataDetailReq queryCycleStageDataDetailReq_1 = new QueryCycleStageDataDetailReq();
        queryCycleStageDataDetailReq_1.setStageContentType("SOLVING_IDEAS");//sourceId:1467198_1_58502
        if (reqDto != null) {
            queryCycleStageDataDetailReq_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1467197_1_58502
            queryCycleStageDataDetailReq_1.setCycleDataObjId(reqDto.getCycleDataObjId());//SimpleFieldAssign//sourceId:1467199_1_58502
            queryCycleStageDataDetailReq_1.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1467200_1_58502
        }

        /*3-3-11查解决思路周期阶段资料详情[2771]   */
        Assert.isNull(queryCycleStageDataDetailReq_1.getCycleId(), "D3-执行周期阶段资料发送消息处理(公共)-3-3-11查解决思路周期阶段资料详情-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq_1.getCycleDataObjId(), "D3-执行周期阶段资料发送消息处理(公共)-3-3-11查解决思路周期阶段资料详情-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq_1.getStageContentType(), "D3-执行周期阶段资料发送消息处理(公共)-3-3-11查解决思路周期阶段资料详情-内容性质类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq_1.getThemeContentId(), "D3-执行周期阶段资料发送消息处理(公共)-3-3-11查解决思路周期阶段资料详情-主题内容ID不能为空", false);
        omsTspeCycleStageData_2 = mOmsTspeCycleStageDataService.queryCycleStageDataDetail(queryCycleStageDataDetailReq_1)/*vcase invoke 本地 method 方法调用;*/;


        if ((omsTspeCycleStageData_2 != null)) {
            //if(3-3-11查解决思路周期阶段资料详情.出参 值不等于空 )  58504

            ImplementCreateMsgAndNumComRespDto implementCreateMsgAndNumComRespDto_2 = null;
            if (implementReportTaskMessagePrepareNewComRespDto != null && implementWrokContentSendMsgContentPreparationComRespDto != null) {
                ImplementCreateMsgAndNumComReqDto implementCreateMsgAndNumComReqDto_1 = new ImplementCreateMsgAndNumComReqDto();
                implementCreateMsgAndNumComReqDto_1.setMsgAndLocUsageScene("TARGET_PLAN_SCENE");//sourceId:1467252_1_58505
                implementCreateMsgAndNumComReqDto_1.setSendMsgScene("GENERATE_REPORT_TASK_SOLUTION");//sourceId:1467253_1_58505
                implementCreateMsgAndNumComReqDto_1.setMessageReceiverType("BY_VIRTUAL_ORG_MEM");//sourceId:1467254_1_58505
                implementCreateMsgAndNumComReqDto_1.setSendMsgTechnologyMode("LABOUR_SEND_PRINCIPAL");//sourceId:1467255_1_58505
                implementCreateMsgAndNumComReqDto_1.setMsgTableTypeCode("OMS_TSPE_CYCLE_STAGE_DATA");//sourceId:1467271_1_58505
                implementCreateMsgAndNumComReqDto_1.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1467261_1_58505
                implementCreateMsgAndNumComReqDto_1.setAppId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecAppId());//CURRENT_APPID//sourceId:1467273_1_58505
                implementCreateMsgAndNumComReqDto_1.setPlatformReplace("FALSE");//sourceId:1467288_1_58505
                implementCreateMsgAndNumComReqDto_1.setMsgChannelClassCode("CONTENT_COMMUNICATION");//sourceId:1467281_1_58505
                implementCreateMsgAndNumComReqDto_1.setMessageChannelTypeCode("GROUP_SESSION");//sourceId:1467282_1_58505
                implementCreateMsgAndNumComReqDto_1.setMessageLocationCode("CONTENT_COMMUNICATION");//CUSTOM_CONVENTION//sourceId:1467283_1_58505
                implementCreateMsgAndNumComReqDto_1.setMessageTemplateCode("GENERATE_REPORT_TASK_SOLUTION_MSG_TEMP");//CUSTOM_CONVENTION//sourceId:1467284_1_58505
                implementCreateMsgAndNumComReqDto_1.setHandleType("NO_NEED_HANDLING");//sourceId:1467285_1_58505
                implementCreateMsgAndNumComReqDto_1.setMessageImportantLevel(Long.valueOf(4));//CUSTOM_CONVENTION//sourceId:1467289_1_58505
                implementCreateMsgAndNumComReqDto_1.setMsgTitleTemplateSemanticEngineCode("GENERATE_REPORT_TASK_SOLUTION_MSG_TITLE");//CUSTOM_CONVENTION//sourceId:1467268_1_58505
                implementCreateMsgAndNumComReqDto_1.setTitleFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1467269_1_58505
                implementCreateMsgAndNumComReqDto_1.setFirstFieldName("idCardName");//CUSTOM_CONVENTION//sourceId:1467262_1_58505
                implementCreateMsgAndNumComReqDto_1.setSecondFieldName("cycleStandardName");//CUSTOM_CONVENTION//sourceId:1467264_1_58505
                if (implementReportTaskMessagePrepareNewComRespDto != null) {
                    implementCreateMsgAndNumComReqDto_1.setNewTableTypeCode(implementReportTaskMessagePrepareNewComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1467257_1_58505
                    implementCreateMsgAndNumComReqDto_1.setTableTypeCode(implementReportTaskMessagePrepareNewComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1467259_1_58505
                    implementCreateMsgAndNumComReqDto_1.setTitleFieldValue(implementReportTaskMessagePrepareNewComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1467270_1_58505
                    implementCreateMsgAndNumComReqDto_1.setFirstFieldValue(implementReportTaskMessagePrepareNewComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1467263_1_58505
                    implementCreateMsgAndNumComReqDto_1.setSecondFieldValue(implementReportTaskMessagePrepareNewComRespDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1467265_1_58505
                }
                if (reqDto != null) {
                    implementCreateMsgAndNumComReqDto_1.setRoleCode(reqDto.getRoleCode());//SimpleFieldAssign//sourceId:1478733_1_58505
                    implementCreateMsgAndNumComReqDto_1.setNewEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1467258_1_58505
                    implementCreateMsgAndNumComReqDto_1.setEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1467260_1_58505
                    implementCreateMsgAndNumComReqDto_1.setMsgEntiyId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1467272_1_58505
                }
                if (implementWrokContentSendMsgContentPreparationComRespDto != null) {
                    implementCreateMsgAndNumComReqDto_1.setCooperateContentTypeCode(implementWrokContentSendMsgContentPreparationComRespDto.getCooperateContentTypeCode());//SimpleFieldAssign//sourceId:1467276_1_58505
                    implementCreateMsgAndNumComReqDto_1.setCooperateContentId(implementWrokContentSendMsgContentPreparationComRespDto.getCooperateContentId());//SimpleFieldAssign//sourceId:1467277_1_58505
                    implementCreateMsgAndNumComReqDto_1.setSurfaceContName(implementWrokContentSendMsgContentPreparationComRespDto.getSurfaceContName());//SimpleFieldAssign//sourceId:1467278_1_58505
                    implementCreateMsgAndNumComReqDto_1.setMediaType(implementWrokContentSendMsgContentPreparationComRespDto.getMediaType());//SimpleFieldAssign//sourceId:1467279_1_58505
                    implementCreateMsgAndNumComReqDto_1.setMediaAddress(implementWrokContentSendMsgContentPreparationComRespDto.getMediaAddress());//SimpleFieldAssign//sourceId:1467280_1_58505
                    implementCreateMsgAndNumComReqDto_1.setThemeContentTypeCode(implementWrokContentSendMsgContentPreparationComRespDto.getThemeContentTypeCode());//SimpleFieldAssign//sourceId:1467274_1_58505
                    implementCreateMsgAndNumComReqDto_1.setThemeContentId(implementWrokContentSendMsgContentPreparationComRespDto.getThemeContentId());//SimpleFieldAssign//sourceId:1467275_1_58505
                }

                /*D3执行发解决思路消息及数量[8243]   */
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMsgAndLocUsageScene(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-消息及位置使用场景不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getSendMsgScene(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-发送消息场景不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMessageReceiverType(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-消息接收方类型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getSendMsgTechnologyMode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-发送消息技术模型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getNewTableTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-通道归属主体内容类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getNewEntityId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-通道归属主体内容ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getTableTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-小圈子内容表类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getEntityId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-小圈子内容表主键ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMsgTableTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-消息内容表类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMsgEntiyId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-消息内容表主键ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getCooperateContentTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-协同内容类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getCooperateContentId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-协同内容ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getSurfaceContName(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-协同内容名称不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getThemeContentTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-主题内容类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getThemeContentId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-主题内容ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getSpaceId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-创建于空间ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getAppId(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-创建于联盟应用ID不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getPlatformReplace(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-是否平台代操作不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMsgChannelClassCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-消息使用通道类别不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMessageChannelTypeCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-通道类型编码不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMessageLocationCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-消息位置标识不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMessageTemplateCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-消息模板标识不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getHandleType(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-处理类型不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMessageImportantLevel(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-消息重要紧急度层级不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getMsgTitleTemplateSemanticEngineCode(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-消息标题模板引擎标识不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getTitleFieldName(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-标题字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getTitleFieldValue(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-标题字段字段值不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getFirstFieldName(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-第一个字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getFirstFieldValue(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-第一个字段字段值不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getSecondFieldName(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-第二个字段字段名不能为空", false);
                Assert.isNull(implementCreateMsgAndNumComReqDto_1.getSecondFieldValue(), "D3-执行周期阶段资料发送消息处理(公共)-D3执行发解决思路消息及数量-第二个字段字段值不能为空", false);
                implementCreateMsgAndNumComRespDto_2 = messageService.implementCreateMsgAndNumCom(implementCreateMsgAndNumComReqDto_1)/*vcase invoke isSameApp*/;


            }
        }
        ImplementCycleStageDataMessageComRespDto retData = new ImplementCycleStageDataMessageComRespDto();


        return retData;
    }

    /**
     * D3-执行周期阶段资料发送消息准备(公共)[7331]
     * gen by moon at 12/24/2023, 10:21:37 PM
     */
    @Trace(operationName = "D3-执行周期阶段资料发送消息准备(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementCycleStageDataMessagePrepareComRespDto implementCycleStageDataMessagePrepareCom(ImplementCycleStageDataMessagePrepareComReqDto reqDto) {


        ObtainCircleMemberInfoComRespDto obtainCircleMemberInfoComRespDto_1 = null;
        OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle_1 = null;
        QueryVirtualOrgMemberDetailComRespDto queryVirtualOrgMemberDetailComRespDto_1 = null;
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto_1 = null;
        GenerateMessageSemanticInstanceComRespDto generateMessageSemanticInstanceComRespDto_1 = null;
        GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto_1 = null;
        ObtainCurrentTargetContexeCuteCycleComRespDto obtainCurrentTargetContexeCuteCycleComRespDto_1 = null;
        ImplementCommentMessageTemplateCodeComRespDto implementCommentMessageTemplateCodeComRespDto_1 = null;
        GenerateMsgTitleAndContentSemanticInstanceComRespDto generateMsgTitleAndContentSemanticInstanceComRespDto_1 = null;
//virtualUsage D3获取圈子成员基本信息(公共)  47972
        ObtainCircleMemberInfoComRespDto obtainCircleMemberInfoComRespDto = null;
        ObtainCircleMemberInfoComReqDto obtainCircleMemberInfoComReqDto = new ObtainCircleMemberInfoComReqDto();
        obtainCircleMemberInfoComReqDto.setUserId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecUserId());//CURRENT_USERID//sourceId:1098985_1_47972
        obtainCircleMemberInfoComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1098984_1_47972
        if (reqDto != null) {
            obtainCircleMemberInfoComReqDto.setEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1098983_1_47972
            obtainCircleMemberInfoComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1098992_1_47972
        }

        /*D3获取圈子成员基本信息(公共)[7322]   */
        Assert.isNull(obtainCircleMemberInfoComReqDto.getEntityId(), "D3-执行周期阶段资料发送消息准备(公共)-D3获取圈子成员基本信息(公共)-内容表主键ID不能为空", false);
        Assert.isNull(obtainCircleMemberInfoComReqDto.getEvaluationTemplateId(), "D3-执行周期阶段资料发送消息准备(公共)-D3获取圈子成员基本信息(公共)-冗余评价模板ID不能为空", false);
        Assert.isNull(obtainCircleMemberInfoComReqDto.getUserId(), "D3-执行周期阶段资料发送消息准备(公共)-D3获取圈子成员基本信息(公共)-个人账号ID不能为空", false);
        Assert.isNull(obtainCircleMemberInfoComReqDto.getOriginalRoleMemberId(), "D3-执行周期阶段资料发送消息准备(公共)-D3获取圈子成员基本信息(公共)-身份人员ID不能为空", false);
        obtainCircleMemberInfoComRespDto = messageService.obtainCircleMemberInfoCom(obtainCircleMemberInfoComReqDto)/*vcase invoke isSameApp*/;


        obtainCircleMemberInfoComRespDto_1 = obtainCircleMemberInfoComRespDto;
//virtualUsage 3-3-09查被评对象目标周期详情  47959
        OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle = null;
        QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq = new QueryEvaObjTargetCycleDetailReq();
        queryEvaObjTargetCycleDetailReq.setEvaObjEntityId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1098828_1_47959
        queryEvaObjTargetCycleDetailReq.setEvaObjTypeCode("EVA_OBJECT");//sourceId:1098829_1_47959
        queryEvaObjTargetCycleDetailReq.setIsParentCycle("TRUE");//sourceId:1098831_1_47959
        queryEvaObjTargetCycleDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1098797_1_47959
        if (reqDto != null) {
            queryEvaObjTargetCycleDetailReq.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1098830_1_47959
            queryEvaObjTargetCycleDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1098796_1_47959
        }

        /*3-3-09查被评对象目标周期详情[2313]   */
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaObjEntityId(), "D3-执行周期阶段资料发送消息准备(公共)-3-3-09查被评对象目标周期详情-被评对象内容表主键ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaObjTypeCode(), "D3-执行周期阶段资料发送消息准备(公共)-3-3-09查被评对象目标周期详情-被评对象类型编码不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getTargetCycleContentId(), "D3-执行周期阶段资料发送消息准备(公共)-3-3-09查被评对象目标周期详情-关联目标内容ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getIsParentCycle(), "D3-执行周期阶段资料发送消息准备(公共)-3-3-09查被评对象目标周期详情-是否父周期不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaluationTemplateId(), "D3-执行周期阶段资料发送消息准备(公共)-3-3-09查被评对象目标周期详情-冗余评价模板ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getSubjectLifeCycle(), "D3-执行周期阶段资料发送消息准备(公共)-3-3-09查被评对象目标周期详情-主体生命周期不能为空", false);
        omsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsEvaluationObjectTargetCycle_1 = omsEvaluationObjectTargetCycle;
//virtualUsage D3-查询虚拟组织成员详情(公共)  57224
        QueryVirtualOrgMemberDetailComRespDto queryVirtualOrgMemberDetailComRespDto = null;
        if (obtainCircleMemberInfoComRespDto != null) {
            QueryVirtualOrgMemberDetailComReqDto queryVirtualOrgMemberDetailComReqDto = new QueryVirtualOrgMemberDetailComReqDto();
            queryVirtualOrgMemberDetailComReqDto.setOriginalRoleMemberId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecOriginalRoleMemberId());//CURRENT_ORIGINAL_ROLE_MEMBERID//sourceId:1436383_1_57224
            if (obtainCircleMemberInfoComRespDto != null) {
                queryVirtualOrgMemberDetailComReqDto.setVirtualOrgId(obtainCircleMemberInfoComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1436390_1_57224
            }
            if (reqDto != null) {
                queryVirtualOrgMemberDetailComReqDto.setEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1436384_1_57224
            }

            /*D3-查询虚拟组织成员详情(公共)[5937]   */
            Assert.isNull(queryVirtualOrgMemberDetailComReqDto.getOriginalRoleMemberId(), "D3-执行周期阶段资料发送消息准备(公共)-D3-查询虚拟组织成员详情(公共)-身份人员ID不能为空", false);
            Assert.isNull(queryVirtualOrgMemberDetailComReqDto.getVirtualOrgId(), "D3-执行周期阶段资料发送消息准备(公共)-D3-查询虚拟组织成员详情(公共)-虚拟组织ID不能为空", false);
            Assert.isNull(queryVirtualOrgMemberDetailComReqDto.getEntityId(), "D3-执行周期阶段资料发送消息准备(公共)-D3-查询虚拟组织成员详情(公共)-冗余内容表主键ID不能为空", false);
            queryVirtualOrgMemberDetailComRespDto = virtualOrgService.queryVirtualOrgMemberDetailCom(queryVirtualOrgMemberDetailComReqDto)/*vcase invoke isSameApp*/;
            Assert.isTrue(queryVirtualOrgMemberDetailComRespDto == null || queryVirtualOrgMemberDetailComRespDto.getVirtualOrgMemberId() == null, "找不到数据，系统异常", false);

            queryVirtualOrgMemberDetailComRespDto_1 = queryVirtualOrgMemberDetailComRespDto;
        }
//virtualUsage D1-3查询个人就职记录信息详情（公共）  57226
        QueryInductionRecordInfoDetailComRespDto queryInductionRecordInfoDetailComRespDto = null;
        if (queryVirtualOrgMemberDetailComRespDto != null) {
            QueryInductionRecordInfoDetailComReqDto queryInductionRecordInfoDetailComReqDto = new QueryInductionRecordInfoDetailComReqDto();
            queryInductionRecordInfoDetailComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1436370_1_57226
            if (queryVirtualOrgMemberDetailComRespDto != null) {
                queryInductionRecordInfoDetailComReqDto.setInductionRecordId(queryVirtualOrgMemberDetailComRespDto.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1436362_1_57226
            }

            /*D1-3查询个人就职记录信息详情（公共）[715]   */
            Assert.isNull(queryInductionRecordInfoDetailComReqDto.getInductionRecordId(), "D3-执行周期阶段资料发送消息准备(公共)-D1-3查询个人就职记录信息详情（公共）-就职记录ID不能为空", false);
            Assert.isNull(queryInductionRecordInfoDetailComReqDto.getSpaceId(), "D3-执行周期阶段资料发送消息准备(公共)-D1-3查询个人就职记录信息详情（公共）-创建于空间ID不能为空", false);
            queryInductionRecordInfoDetailComRespDto = inductionRecordService.queryInductionRecordInfoDetailCom(queryInductionRecordInfoDetailComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            queryInductionRecordInfoDetailComRespDto_1 = queryInductionRecordInfoDetailComRespDto;
        }
//virtualUsage D2生成消息语义实例(公共)  47961
        GenerateMessageSemanticInstanceComRespDto generateMessageSemanticInstanceComRespDto = null;
        if (queryInductionRecordInfoDetailComRespDto != null) {
            GenerateMessageSemanticInstanceComReqDto generateMessageSemanticInstanceComReqDto = new GenerateMessageSemanticInstanceComReqDto();
            generateMessageSemanticInstanceComReqDto.setTemplateSemanticEngineCode("CREATE_MULT_GROUP_DEFAULT_PROMPT_MESSAGE");//CUSTOM_CONVENTION//sourceId:1098800_1_47961
            if (queryInductionRecordInfoDetailComRespDto != null) {
                generateMessageSemanticInstanceComReqDto.setIdCardName(queryInductionRecordInfoDetailComRespDto.getIdCardName());//SimpleFieldAssign//sourceId:1098801_1_47961
            }

            /*D2生成消息语义实例(公共)[7038]   */
            Assert.isNull(generateMessageSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "D3-执行周期阶段资料发送消息准备(公共)-D2生成消息语义实例(公共)-模板引擎标识不能为空", false);
            Assert.isNull(generateMessageSemanticInstanceComReqDto.getIdCardName(), "D3-执行周期阶段资料发送消息准备(公共)-D2生成消息语义实例(公共)-真实姓名不能为空", false);
            generateMessageSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateMessageSemanticInstanceCom(generateMessageSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            generateMessageSemanticInstanceComRespDto_1 = generateMessageSemanticInstanceComRespDto;
        }
//virtualUsage D2生成时间周期等语义内容服务(公共)  47962
        GenerateTimeCycleEtcSemanticInstanceComRespDto generateTimeCycleEtcSemanticInstanceComRespDto = null;
        if (omsEvaluationObjectTargetCycle != null) {
            GenerateTimeCycleEtcSemanticInstanceComReqDto generateTimeCycleEtcSemanticInstanceComReqDto = new GenerateTimeCycleEtcSemanticInstanceComReqDto();
            generateTimeCycleEtcSemanticInstanceComReqDto.setTemplateSemanticEngineCode("CONTENT_SESSION_CHANNEL_NAME");//CUSTOM_CONVENTION//sourceId:1098824_1_47962
            if (omsEvaluationObjectTargetCycle != null) {
                generateTimeCycleEtcSemanticInstanceComReqDto.setCyclelAlias(omsEvaluationObjectTargetCycle.getCyclelAlias());//SimpleFieldAssign//sourceId:1098826_1_47962
            }

            /*D2生成时间周期等语义内容服务(公共)[5030]   */
            Assert.isNull(generateTimeCycleEtcSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "D3-执行周期阶段资料发送消息准备(公共)-D2生成时间周期等语义内容服务(公共)-模板引擎标识不能为空", false);
            generateTimeCycleEtcSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateTimeCycleEtcSemanticInstanceCom(generateTimeCycleEtcSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            generateTimeCycleEtcSemanticInstanceComRespDto_1 = generateTimeCycleEtcSemanticInstanceComRespDto;
        }
//virtualUsage 3-7-01查询任务详情  49865
        OmsTask omsTask = null;
        QueryTaskDetailReq queryTaskDetailReq = new QueryTaskDetailReq();
        queryTaskDetailReq.setIsArchive("FALSE");//sourceId:1169554_1_49865
        if (reqDto != null) {
            queryTaskDetailReq.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1169552_1_49865
            queryTaskDetailReq.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1169553_1_49865
        }

        /*3-7-01查询任务详情[2522]   */
        Assert.isNull(queryTaskDetailReq.getThemeContentId(), "D3-执行周期阶段资料发送消息准备(公共)-3-7-01查询任务详情-主题内容ID不能为空", false);
        Assert.isNull(queryTaskDetailReq.getIsArchive(), "D3-执行周期阶段资料发送消息准备(公共)-3-7-01查询任务详情-是否存档不能为空", false);
        omsTask = mOmsTaskService.queryTaskDetail(queryTaskDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//virtualUsage D3获取当前目标内容执行周期(公共)  49866
        ObtainCurrentTargetContexeCuteCycleComRespDto obtainCurrentTargetContexeCuteCycleComRespDto = null;
        if (omsEvaluationObjectTargetCycle != null) {
            ObtainCurrentTargetContexeCuteCycleComReqDto obtainCurrentTargetContexeCuteCycleComReqDto = new ObtainCurrentTargetContexeCuteCycleComReqDto();
            if (reqDto != null) {
                obtainCurrentTargetContexeCuteCycleComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1169517_1_49866
                obtainCurrentTargetContexeCuteCycleComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1169518_1_49866
                obtainCurrentTargetContexeCuteCycleComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1169520_1_49866
            }
            if (omsEvaluationObjectTargetCycle != null) {
                obtainCurrentTargetContexeCuteCycleComReqDto.setTargetId(omsEvaluationObjectTargetCycle.getTargetId());//SimpleFieldAssign//sourceId:1169519_1_49866
            }

            /*D3获取当前目标内容执行周期(公共)[7501]   */
            Assert.isNull(obtainCurrentTargetContexeCuteCycleComReqDto.getCycleId(), "D3-执行周期阶段资料发送消息准备(公共)-D3获取当前目标内容执行周期(公共)-周期ID不能为空", false);
            Assert.isNull(obtainCurrentTargetContexeCuteCycleComReqDto.getTargetCycleContentId(), "D3-执行周期阶段资料发送消息准备(公共)-D3获取当前目标内容执行周期(公共)-关联目标内容ID不能为空", false);
            Assert.isNull(obtainCurrentTargetContexeCuteCycleComReqDto.getTargetId(), "D3-执行周期阶段资料发送消息准备(公共)-D3获取当前目标内容执行周期(公共)-冗余目标ID不能为空", false);
            Assert.isNull(obtainCurrentTargetContexeCuteCycleComReqDto.getEvaluationTemplateId(), "D3-执行周期阶段资料发送消息准备(公共)-D3获取当前目标内容执行周期(公共)-冗余评价模板ID不能为空", false);
            obtainCurrentTargetContexeCuteCycleComRespDto = executeCycleService.obtainCurrentTargetContexeCuteCycleCom(obtainCurrentTargetContexeCuteCycleComReqDto)/*vcase invoke isSameApp*/;


            obtainCurrentTargetContexeCuteCycleComRespDto_1 = obtainCurrentTargetContexeCuteCycleComRespDto;
        }
//virtualUsage D2-执行内容评论消息模板标识处理(公共)  57219
        ImplementCommentMessageTemplateCodeComRespDto implementCommentMessageTemplateCodeComRespDto = null;
        ImplementCommentMessageTemplateCodeComReqDto implementCommentMessageTemplateCodeComReqDto = new ImplementCommentMessageTemplateCodeComReqDto();
        if (reqDto != null) {
            implementCommentMessageTemplateCodeComReqDto.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:1436306_1_57219
        }

        /*D2-执行内容评论消息模板标识处理(公共)[7370]   */
//    Assert.isNull(implementCommentMessageTemplateCodeComReqDto.getStageContentType(),"D3-执行周期阶段资料发送消息准备(公共)-D2-执行内容评论消息模板标识处理(公共)-内容性质类型编码不能为空",false);
        implementCommentMessageTemplateCodeComRespDto = fwCompMessageClient.implementCommentMessageTemplateCodeCom(implementCommentMessageTemplateCodeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        implementCommentMessageTemplateCodeComRespDto_1 = implementCommentMessageTemplateCodeComRespDto;
        if ((reqDto != null && reqDto.getStageData() != null)) {
            //if(D3-执行周期阶段资料发送消息准备(公共).阶段资料具体内容 值不等于空 )  57360

            GenerateMsgTitleAndContentSemanticInstanceComRespDto generateMsgTitleAndContentSemanticInstanceComRespDto = null;
            if (implementCommentMessageTemplateCodeComRespDto != null && obtainCurrentTargetContexeCuteCycleComRespDto != null && omsTask != null) {
                GenerateMsgTitleAndContentSemanticInstanceComReqDto generateMsgTitleAndContentSemanticInstanceComReqDto = new GenerateMsgTitleAndContentSemanticInstanceComReqDto();
                if (implementCommentMessageTemplateCodeComRespDto != null) {
//      generateMsgTitleAndContentSemanticInstanceComReqDto.setTemplateSemanticEngineCode(implementCommentMessageTemplateCodeComRespDto.getTemplateSemanticEngineCode());//SimpleFieldAssign//sourceId:1438974_1_57361
                }
                if (reqDto != null) {
                    generateMsgTitleAndContentSemanticInstanceComReqDto.setObjectName(reqDto.getStageData());//SimpleFieldAssign//sourceId:1438984_1_57361
                }
                if (obtainCurrentTargetContexeCuteCycleComRespDto != null) {
                    generateMsgTitleAndContentSemanticInstanceComReqDto.setCycleStandardName(obtainCurrentTargetContexeCuteCycleComRespDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1438975_1_57361
                }
                if (omsTask != null) {
                    generateMsgTitleAndContentSemanticInstanceComReqDto.setTargetContentName(omsTask.getTaskName());//SimpleFieldAssign//sourceId:1438976_1_57361
                }

                /*D2生成消息标题及内容语义实例(公共)[7486]   */
                Assert.isNull(generateMsgTitleAndContentSemanticInstanceComReqDto.getTemplateSemanticEngineCode(), "D3-执行周期阶段资料发送消息准备(公共)-D2生成消息标题及内容语义实例(公共)-模板引擎标识不能为空", false);
                Assert.isNull(generateMsgTitleAndContentSemanticInstanceComReqDto.getObjectName(), "D3-执行周期阶段资料发送消息准备(公共)-D2生成消息标题及内容语义实例(公共)-对象名称不能为空", false);
                Assert.isNull(generateMsgTitleAndContentSemanticInstanceComReqDto.getCycleStandardName(), "D3-执行周期阶段资料发送消息准备(公共)-D2生成消息标题及内容语义实例(公共)-周期名称不能为空", false);
                Assert.isNull(generateMsgTitleAndContentSemanticInstanceComReqDto.getTargetContentName(), "D3-执行周期阶段资料发送消息准备(公共)-D2生成消息标题及内容语义实例(公共)-目标内容名称不能为空", false);
                generateMsgTitleAndContentSemanticInstanceComRespDto = fwCompTemplateEngineClient.generateMsgTitleAndContentSemanticInstanceCom(generateMsgTitleAndContentSemanticInstanceComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


                generateMsgTitleAndContentSemanticInstanceComRespDto_1 = generateMsgTitleAndContentSemanticInstanceComRespDto;
            }
        }
        ImplementCycleStageDataMessagePrepareComRespDto retData = new ImplementCycleStageDataMessagePrepareComRespDto();
        if (obtainCircleMemberInfoComRespDto_1 != null) {
            retData.setCoterieMemberList(obtainCircleMemberInfoComRespDto_1.getCoterieMemberList().stream().map(item -> BeanUtil.toBean(item, CoterieMemberDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1098994_1
            retData.setVirtualOrgId(obtainCircleMemberInfoComRespDto_1.getVirtualOrgId());//SimpleFieldAssign//sourceId:1098993_1
        }
        if (generateMessageSemanticInstanceComRespDto_1 != null) {
            retData.setObjectName(generateMessageSemanticInstanceComRespDto_1.getObjectName());//SimpleFieldAssign//sourceId:1098850_1
        }
        if (generateTimeCycleEtcSemanticInstanceComRespDto_1 != null) {
            retData.setChannelName(generateTimeCycleEtcSemanticInstanceComRespDto_1.getObjectName());//SimpleFieldAssign//sourceId:1098851_1
        }
        if (implementCommentMessageTemplateCodeComRespDto_1 != null) {
            retData.setMessageTemplateCode(implementCommentMessageTemplateCodeComRespDto_1.getMessageTemplateCode());//SimpleFieldAssign//sourceId:1436313_1
        }
        if (generateMsgTitleAndContentSemanticInstanceComRespDto_1 != null) {
            retData.setMsgTitle(generateMsgTitleAndContentSemanticInstanceComRespDto_1.getMsgTitle());//SimpleFieldAssign//sourceId:1441522_1
            retData.setMsgContent(generateMsgTitleAndContentSemanticInstanceComRespDto_1.getMsgContent());//SimpleFieldAssign//sourceId:1441523_1
        }
        if (queryVirtualOrgMemberDetailComRespDto_1 != null) {
            retData.setSenderVirtualOrgMemberId(queryVirtualOrgMemberDetailComRespDto_1.getVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1436411_1
            retData.setSenderInductionRecordId(queryVirtualOrgMemberDetailComRespDto_1.getVirtualOrgInductionRecordId());//SimpleFieldAssign//sourceId:1436412_1
        }
        if (queryInductionRecordInfoDetailComRespDto_1 != null) {
            retData.setSenderOriginalRoleMemberId(queryInductionRecordInfoDetailComRespDto_1.getOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1436414_1
            retData.setSenderUserId(queryInductionRecordInfoDetailComRespDto_1.getUserId());//SimpleFieldAssign//sourceId:1436415_1
            retData.setNameOfSender(queryInductionRecordInfoDetailComRespDto_1.getIdCardName());//SimpleFieldAssign//sourceId:1436416_1
            retData.setSenderProfilePictureAddress(queryInductionRecordInfoDetailComRespDto_1.getUserFace());//SimpleFieldAssign//sourceId:1436417_1
            retData.setSenderDeptId(queryInductionRecordInfoDetailComRespDto_1.getEntityId());//SimpleFieldAssign//sourceId:1436418_1
        }
        if (omsEvaluationObjectTargetCycle_1 != null) {
            retData.setCyclelAlias(omsEvaluationObjectTargetCycle_1.getCyclelAlias());//SimpleFieldAssign//sourceId:1442566_1
        }
        if (obtainCurrentTargetContexeCuteCycleComRespDto_1 != null) {
            retData.setCycleStandardName(obtainCurrentTargetContexeCuteCycleComRespDto_1.getCycleStandardName());//SimpleFieldAssign//sourceId:1442567_1
        }


        return retData;
    }

    /**
     * D3-执行周期阶段资料会话处理(公共)[7333]
     * gen by moon at 12/28/2023, 11:24:21 AM
     */
    @Trace(operationName = "D3-执行周期阶段资料会话处理(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementCycleStageDataConversationComRespDto implementCycleStageDataConversationCom(ImplementCycleStageDataConversationComReqDto reqDto) {

//
//      //virtualUsage D3-执行周期阶段资料发送消息准备(公共)  47991
//      ImplementCycleStageDataMessagePrepareComRespDto implementCycleStageDataMessagePrepareComRespDto = null;
//    ImplementCycleStageDataMessagePrepareComReqDto implementCycleStageDataMessagePrepareComReqDto=new ImplementCycleStageDataMessagePrepareComReqDto();
//  if(reqDto!=null){
//      implementCycleStageDataMessagePrepareComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1099594_1_47991
//implementCycleStageDataMessagePrepareComReqDto.setTaskId(reqDto.getTaskId());//SimpleFieldAssign//sourceId:1169459_1_47991
//implementCycleStageDataMessagePrepareComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1169460_1_47991
//implementCycleStageDataMessagePrepareComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1099595_1_47991
//    }
//
//    /*D3-执行周期阶段资料发送消息准备(公共)[7331]   */
//    Assert.isNull(implementCycleStageDataMessagePrepareComReqDto.getTargetCycleContentId(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息准备(公共)-关联目标内容ID不能为空",false);
//Assert.isNull(implementCycleStageDataMessagePrepareComReqDto.getTaskId(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息准备(公共)-任务ID不能为空",false);
//Assert.isNull(implementCycleStageDataMessagePrepareComReqDto.getCycleId(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息准备(公共)-周期ID不能为空",false);
//Assert.isNull(implementCycleStageDataMessagePrepareComReqDto.getEvaluationTemplateId(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息准备(公共)-冗余评价模板ID不能为空",false);
//      implementCycleStageDataMessagePrepareComRespDto = implementCycleStageDataMessagePrepareCom(implementCycleStageDataMessagePrepareComReqDto)/*vcase invoke 同服务,同domain*/;
//
//
//
////virtualUsage D3执行内容类型互转表类型(公共)  48081
//      ImplementContentTypeChangeTableTypeComRespDto implementContentTypeChangeTableTypeComRespDto = null;
//    ImplementContentTypeChangeTableTypeComReqDto implementContentTypeChangeTableTypeComReqDto=new ImplementContentTypeChangeTableTypeComReqDto();
//  if(reqDto!=null){
//      implementContentTypeChangeTableTypeComReqDto.setTargetCycleContentTypeCode(reqDto.getTargetCycleContentTypeCode());//SimpleFieldAssign//sourceId:1102199_1_48081
//    }
//
//    /*D3执行内容类型互转表类型(公共)[5354]   */
//    Assert.isNull(implementContentTypeChangeTableTypeComReqDto.getTargetCycleContentTypeCode(),"D3-执行周期阶段资料会话处理(公共)-D3执行内容类型互转表类型(公共)-关联目标内容类型编码不能为空",false);
//      implementContentTypeChangeTableTypeComRespDto = indexSystemService.implementContentTypeChangeTableTypeCom(implementContentTypeChangeTableTypeComReqDto)/*vcase invoke isSameApp*/;
//
//
//
////virtualUsage D3查询小圈子特殊成员列表(公共)  57582
//      QueryVirtualOrgSpecMemberListComRespDto queryVirtualOrgSpecMemberListComRespDto = null;
//    QueryVirtualOrgSpecMemberListComReqDto queryVirtualOrgSpecMemberListComReqDto=new QueryVirtualOrgSpecMemberListComReqDto();
//  queryVirtualOrgSpecMemberListComReqDto.setSendMsgScene("REVIEW_AND_SUBMIT_THREE_BUSINESS_MESSAGES");//sourceId:1447143_1_57582
//queryVirtualOrgSpecMemberListComReqDto.setSendMsgTechnologyMode("LABOUR_SEND_NULL");//sourceId:1447144_1_57582
//queryVirtualOrgSpecMemberListComReqDto.setUseScene("TARGET_PLAN_SCENE");//sourceId:1447142_1_57582
//if(reqDto!=null){
//      queryVirtualOrgSpecMemberListComReqDto.setEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1447141_1_57582
//    }
//
//    /*D3查询小圈子特殊成员列表(公共)[8205]   */
//    Assert.isNull(queryVirtualOrgSpecMemberListComReqDto.getSendMsgScene(),"D3-执行周期阶段资料会话处理(公共)-D3查询小圈子特殊成员列表(公共)-发送消息场景不能为空",false);
//Assert.isNull(queryVirtualOrgSpecMemberListComReqDto.getSendMsgTechnologyMode(),"D3-执行周期阶段资料会话处理(公共)-D3查询小圈子特殊成员列表(公共)-发送消息技术模型不能为空",false);
//Assert.isNull(queryVirtualOrgSpecMemberListComReqDto.getUseScene(),"D3-执行周期阶段资料会话处理(公共)-D3查询小圈子特殊成员列表(公共)-虚拟组织使用场景不能为空",false);
//Assert.isNull(queryVirtualOrgSpecMemberListComReqDto.getEntityId(),"D3-执行周期阶段资料会话处理(公共)-D3查询小圈子特殊成员列表(公共)-冗余内容表主键ID不能为空",false);
//      queryVirtualOrgSpecMemberListComRespDto = virtualOrgService.queryVirtualOrgSpecMemberListCom(queryVirtualOrgSpecMemberListComReqDto)/*vcase invoke isSameApp*/;
//
//
//
////virtualUsage D3-执行周期阶段资料发送消息处理(公共)  57212
//      ImplementCycleStageDataMessageComRespDto implementCycleStageDataMessageComRespDto = null;
//    if(queryVirtualOrgSpecMemberListComRespDto !=null&&implementCycleStageDataMessagePrepareComRespDto !=null&&implementContentTypeChangeTableTypeComRespDto !=null){
//          ImplementCycleStageDataMessageComReqDto implementCycleStageDataMessageComReqDto=new ImplementCycleStageDataMessageComReqDto();
//  if(reqDto!= null&&  reqDto.getCycleStageDataList() !=null&& !CollectionUtil.isEmpty(reqDto.getCycleStageDataList())){
//      implementCycleStageDataMessageComReqDto.setCycleStageDataList(reqDto.getCycleStageDataList().stream().map(item -> BeanUtil.toBean(item, CycleStageDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1099951_1_57212
//    }
//if(queryVirtualOrgSpecMemberListComRespDto!= null&&  queryVirtualOrgSpecMemberListComRespDto.getVirtualOrgMemberList() !=null&& !CollectionUtil.isEmpty(queryVirtualOrgSpecMemberListComRespDto.getVirtualOrgMemberList())){
//      implementCycleStageDataMessageComReqDto.setMemberChannelList(queryVirtualOrgSpecMemberListComRespDto.getVirtualOrgMemberList().stream().map(item -> BeanUtil.toBean(item, MemberChannelDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1436263_1_57212
//    }
//if(queryVirtualOrgSpecMemberListComRespDto!= null&&  queryVirtualOrgSpecMemberListComRespDto.getVirtualOrgrFilterMemberList() !=null&& !CollectionUtil.isEmpty(queryVirtualOrgSpecMemberListComRespDto.getVirtualOrgrFilterMemberList())){
//      implementCycleStageDataMessageComReqDto.setTripartiteMsgAccepterList(queryVirtualOrgSpecMemberListComRespDto.getVirtualOrgrFilterMemberList().stream().map(item -> BeanUtil.toBean(item, TripartiteMsgAccepterDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1447155_1_57212
//    }
//if(queryVirtualOrgSpecMemberListComRespDto!= null&&  queryVirtualOrgSpecMemberListComRespDto.getVirtualOrgSpecMemberList() !=null&& !CollectionUtil.isEmpty(queryVirtualOrgSpecMemberListComRespDto.getVirtualOrgSpecMemberList())){
//      implementCycleStageDataMessageComReqDto.setSpecMemberChannelList(queryVirtualOrgSpecMemberListComRespDto.getVirtualOrgSpecMemberList().stream().map(item -> BeanUtil.toBean(item, SpecMemberChannelDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1447165_1_57212
//    }
//if(implementCycleStageDataMessagePrepareComRespDto!=null){
//      implementCycleStageDataMessageComReqDto.setChannelName(implementCycleStageDataMessagePrepareComRespDto.getChannelName());//SimpleFieldAssign//sourceId:1442533_1_57212
//implementCycleStageDataMessageComReqDto.setChannelLogo(implementCycleStageDataMessagePrepareComRespDto.getSenderProfilePictureAddress());//SimpleFieldAssign//sourceId:1442534_1_57212
//implementCycleStageDataMessageComReqDto.setVirtualOrgId(implementCycleStageDataMessagePrepareComRespDto.getVirtualOrgId());//SimpleFieldAssign//sourceId:1442538_1_57212
//implementCycleStageDataMessageComReqDto.setNewMessage(implementCycleStageDataMessagePrepareComRespDto.getObjectName());//SimpleFieldAssign//sourceId:1442541_1_57212
//implementCycleStageDataMessageComReqDto.setNameOfSender(implementCycleStageDataMessagePrepareComRespDto.getNameOfSender());//SimpleFieldAssign//sourceId:1099992_1_57212
//implementCycleStageDataMessageComReqDto.setSenderProfilePictureAddress(implementCycleStageDataMessagePrepareComRespDto.getSenderProfilePictureAddress());//SimpleFieldAssign//sourceId:1099991_1_57212
//implementCycleStageDataMessageComReqDto.setSenderInductionRecordId(implementCycleStageDataMessagePrepareComRespDto.getSenderInductionRecordId());//SimpleFieldAssign//sourceId:1442542_1_57212
//implementCycleStageDataMessageComReqDto.setSenderOriginalRoleMemberId(implementCycleStageDataMessagePrepareComRespDto.getSenderOriginalRoleMemberId());//SimpleFieldAssign//sourceId:1442543_1_57212
//implementCycleStageDataMessageComReqDto.setSenderUserId(implementCycleStageDataMessagePrepareComRespDto.getSenderUserId());//SimpleFieldAssign//sourceId:1442544_1_57212
//implementCycleStageDataMessageComReqDto.setSenderVirtualOrgMemberId(implementCycleStageDataMessagePrepareComRespDto.getSenderVirtualOrgMemberId());//SimpleFieldAssign//sourceId:1442545_1_57212
//implementCycleStageDataMessageComReqDto.setSenderDeptId(implementCycleStageDataMessagePrepareComRespDto.getSenderDeptId());//SimpleFieldAssign//sourceId:1442546_1_57212
//implementCycleStageDataMessageComReqDto.setTargetContentName(implementCycleStageDataMessagePrepareComRespDto.getCyclelAlias());//SimpleFieldAssign//sourceId:1442548_1_57212
//implementCycleStageDataMessageComReqDto.setCycleStandardName(implementCycleStageDataMessagePrepareComRespDto.getCycleStandardName());//SimpleFieldAssign//sourceId:1442547_1_57212
//    }
//if(implementContentTypeChangeTableTypeComRespDto!=null){
//      implementCycleStageDataMessageComReqDto.setNewTableTypeCode(implementContentTypeChangeTableTypeComRespDto.getTableTypeCode());//SimpleFieldAssign//sourceId:1442535_1_57212
//    }
//if(reqDto!=null){
//      implementCycleStageDataMessageComReqDto.setNewEntityId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1442536_1_57212
//implementCycleStageDataMessageComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1442537_1_57212
//    }
//
//    /*D3-执行周期阶段资料发送消息处理(公共)[7317]   */
//    Assert.isNull(implementCycleStageDataMessageComReqDto.getChannelName(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-通道名称不能为空",false);
//Assert.isNull(implementCycleStageDataMessageComReqDto.getNewTableTypeCode(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-通道归属主体内容类型编码不能为空",false);
//Assert.isNull(implementCycleStageDataMessageComReqDto.getNewEntityId(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-通道归属主体内容ID不能为空",false);
//Assert.isNull(implementCycleStageDataMessageComReqDto.getThemeContentId(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-主题内容ID不能为空",false);
//Assert.isNull(implementCycleStageDataMessageComReqDto.getVirtualOrgId(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-归属虚拟组织ID不能为空",false);
//Assert.isNull(implementCycleStageDataMessageComReqDto.getNewMessage(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-拉人进群欢迎消息文本不能为空",false);
//Assert.isNull(implementCycleStageDataMessageComReqDto.getNameOfSender(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-发送方姓名不能为空",false);
//Assert.isNull(implementCycleStageDataMessageComReqDto.getSenderProfilePictureAddress(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-发送方头像地址不能为空",false);
//Assert.isNull(implementCycleStageDataMessageComReqDto.getSenderUserId(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-发送方账号ID不能为空",false);
//Assert.isNull(implementCycleStageDataMessageComReqDto.getSenderVirtualOrgMemberId(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-发送方虚拟组织成员ID不能为空",false);
//Assert.isNull(implementCycleStageDataMessageComReqDto.getTargetContentName(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-目标内容名称不能为空",false);
//Assert.isNull(implementCycleStageDataMessageComReqDto.getCycleStandardName(),"D3-执行周期阶段资料会话处理(公共)-D3-执行周期阶段资料发送消息处理(公共)-周期名称不能为空",false);
//      implementCycleStageDataMessageComRespDto = implementCycleStageDataMessageCom(implementCycleStageDataMessageComReqDto)/*vcase invoke 同服务,同domain*/;
//
//
//
//      }
        ImplementCycleStageDataConversationComRespDto retData = new ImplementCycleStageDataConversationComRespDto();


        return retData;
    }

    /**
     * D3-查询下级周期阶段资料列表(公共)[7576]
     * gen by moon at 10/21/2023, 3:00:07 AM
     */
    @Trace(operationName = "D3-查询下级周期阶段资料列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QuerySubCycleStageDataListComRespDto querySubCycleStageDataListCom(QuerySubCycleStageDataListComReqDto reqDto) {


        BatchQueryCycleStageDataListByIdsComRespDto batchQueryCycleStageDataListByIdsComRespDto_1 = null;
//virtualUsage 3-3-09查被评对象目标周期详情  50525
        OmsEvaluationObjectTargetCycle omsEvaluationObjectTargetCycle = null;
        QueryEvaObjTargetCycleDetailReq queryEvaObjTargetCycleDetailReq = new QueryEvaObjTargetCycleDetailReq();
        queryEvaObjTargetCycleDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1192652_1_50525
        if (reqDto != null) {
            queryEvaObjTargetCycleDetailReq.setEvaObjTargetCycleId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1192649_1_50525
            queryEvaObjTargetCycleDetailReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1192650_1_50525
            queryEvaObjTargetCycleDetailReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1192651_1_50525
        }

        /*3-3-09查被评对象目标周期详情[2313]   */
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaObjTargetCycleId(), "D3-查询下级周期阶段资料列表(公共)-3-3-09查被评对象目标周期详情-被评对象目标周期ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getCycleId(), "D3-查询下级周期阶段资料列表(公共)-3-3-09查被评对象目标周期详情-周期ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getEvaluationTemplateId(), "D3-查询下级周期阶段资料列表(公共)-3-3-09查被评对象目标周期详情-冗余评价模板ID不能为空", false);
        Assert.isNull(queryEvaObjTargetCycleDetailReq.getSubjectLifeCycle(), "D3-查询下级周期阶段资料列表(公共)-3-3-09查被评对象目标周期详情-主体生命周期不能为空", false);
        omsEvaluationObjectTargetCycle = mOmsEvaluationObjectTargetCycleService.queryEvaObjTargetCycleDetail(queryEvaObjTargetCycleDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((omsEvaluationObjectTargetCycle == null)) {
            //if(3-3-09查目标周期详情（判断入参周期是否工作周期）.出参 值等于空 )  50526

            BatchQueryCycleStageDataListByIdsComRespDto batchQueryCycleStageDataListByIdsComRespDto = null;
            BatchQueryCycleStageDataListByIdsComReqDto batchQueryCycleStageDataListByIdsComReqDto = new BatchQueryCycleStageDataListByIdsComReqDto();
            if (reqDto != null) {
                batchQueryCycleStageDataListByIdsComReqDto.setCycleStageDataList(reqDto.getEvaObjTargetCycleList());//list-field-assign//sourceId:1192663_1_50528
                batchQueryCycleStageDataListByIdsComReqDto.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:1193350_1_50528
                batchQueryCycleStageDataListByIdsComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1192664_1_50528
                batchQueryCycleStageDataListByIdsComReqDto.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1192666_1_50528
            }

            /*D3-批量查询周期阶段资料列表（by目标周期ID）[6360]   */
            Assert.isNull(batchQueryCycleStageDataListByIdsComReqDto.getThemeContentId(), "D3-查询下级周期阶段资料列表(公共)-D3-批量查询周期阶段资料列表（by目标周期ID）-主题内容ID不能为空", false);
            batchQueryCycleStageDataListByIdsComRespDto = batchQueryCycleStageDataListByIdsCom(batchQueryCycleStageDataListByIdsComReqDto)/*vcase invoke 同服务,同domain*/;


            batchQueryCycleStageDataListByIdsComRespDto_1 = batchQueryCycleStageDataListByIdsComRespDto;
        } else if ((omsEvaluationObjectTargetCycle != null)) {
            //elseif(3-3-09查目标周期详情（判断入参周期是否工作周期）.出参 值不等于空 )  50527

            ObtainCurrentTargetContexeCuteCycleComRespDto obtainCurrentTargetContexeCuteCycleComRespDto = null;
            ObtainCurrentTargetContexeCuteCycleComReqDto obtainCurrentTargetContexeCuteCycleComReqDto = new ObtainCurrentTargetContexeCuteCycleComReqDto();
            if (reqDto != null) {
                obtainCurrentTargetContexeCuteCycleComReqDto.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1192672_1_50532
                obtainCurrentTargetContexeCuteCycleComReqDto.setTargetCycleContentId(reqDto.getTargetCycleContentId());//SimpleFieldAssign//sourceId:1192673_1_50532
                obtainCurrentTargetContexeCuteCycleComReqDto.setTargetId(reqDto.getTargetId());//SimpleFieldAssign//sourceId:1192674_1_50532
                obtainCurrentTargetContexeCuteCycleComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1192675_1_50532
            }

            /*D3获取当前目标内容执行周期(公共)[7501]   */
            Assert.isNull(obtainCurrentTargetContexeCuteCycleComReqDto.getCycleId(), "D3-查询下级周期阶段资料列表(公共)-D3获取当前目标内容执行周期(公共)-周期ID不能为空", false);
            Assert.isNull(obtainCurrentTargetContexeCuteCycleComReqDto.getTargetCycleContentId(), "D3-查询下级周期阶段资料列表(公共)-D3获取当前目标内容执行周期(公共)-关联目标内容ID不能为空", false);
            Assert.isNull(obtainCurrentTargetContexeCuteCycleComReqDto.getTargetId(), "D3-查询下级周期阶段资料列表(公共)-D3获取当前目标内容执行周期(公共)-冗余目标ID不能为空", false);
            Assert.isNull(obtainCurrentTargetContexeCuteCycleComReqDto.getEvaluationTemplateId(), "D3-查询下级周期阶段资料列表(公共)-D3获取当前目标内容执行周期(公共)-冗余评价模板ID不能为空", false);
            obtainCurrentTargetContexeCuteCycleComRespDto = executeCycleService.obtainCurrentTargetContexeCuteCycleCom(obtainCurrentTargetContexeCuteCycleComReqDto)/*vcase invoke isSameApp*/;


            ImplementParentSubMidCycleTypeComRespDto implementParentSubMidCycleTypeComRespDto = null;
            if (obtainCurrentTargetContexeCuteCycleComRespDto != null) {
                ImplementParentSubMidCycleTypeComReqDto implementParentSubMidCycleTypeComReqDto = new ImplementParentSubMidCycleTypeComReqDto();
                if (obtainCurrentTargetContexeCuteCycleComRespDto != null) {
                    implementParentSubMidCycleTypeComReqDto.setIsFatherCycle(obtainCurrentTargetContexeCuteCycleComRespDto.getIsFatherCycle());//SimpleFieldAssign//sourceId:1192716_1_50533
                    implementParentSubMidCycleTypeComReqDto.setIsMetaphase(obtainCurrentTargetContexeCuteCycleComRespDto.getIsMetaphase());//SimpleFieldAssign//sourceId:1192718_1_50533
                    implementParentSubMidCycleTypeComReqDto.setIsSubCycle(obtainCurrentTargetContexeCuteCycleComRespDto.getIsSubCycle());//SimpleFieldAssign//sourceId:1192717_1_50533
                    implementParentSubMidCycleTypeComReqDto.setIsProcessCycleStage(obtainCurrentTargetContexeCuteCycleComRespDto.getIsProcessCycleStage());//SimpleFieldAssign//sourceId:1192719_1_50533
                }

                /*D4-执行父子中周期类型分析[5997]   */
                Assert.isNull(implementParentSubMidCycleTypeComReqDto.getIsFatherCycle(), "D3-查询下级周期阶段资料列表(公共)-D4-执行父子中周期类型分析-是否父周期不能为空", false);
                Assert.isNull(implementParentSubMidCycleTypeComReqDto.getIsMetaphase(), "D3-查询下级周期阶段资料列表(公共)-D4-执行父子中周期类型分析-是否中期不能为空", false);
                Assert.isNull(implementParentSubMidCycleTypeComReqDto.getIsSubCycle(), "D3-查询下级周期阶段资料列表(公共)-D4-执行父子中周期类型分析-是否子周期不能为空", false);
                Assert.isNull(implementParentSubMidCycleTypeComReqDto.getIsProcessCycleStage(), "D3-查询下级周期阶段资料列表(公共)-D4-执行父子中周期类型分析-是否过程周期阶段不能为空", false);
                implementParentSubMidCycleTypeComRespDto = fwCalcTargetCycleClient.implementParentSubMidCycleTypeCom(implementParentSubMidCycleTypeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


            }
            BatchQueryCycleStageDataListByIdsComRespDto batchQueryCycleStageDataListByIdsComRespDto_2 = null;
            if (implementParentSubMidCycleTypeComRespDto != null) {
                BatchQueryCycleStageDataListByIdsComReqDto batchQueryCycleStageDataListByIdsComReqDto_1 = new BatchQueryCycleStageDataListByIdsComReqDto();
                if (reqDto != null) {
                    batchQueryCycleStageDataListByIdsComReqDto_1.setCycleStageDataList(reqDto.getEvaObjTargetCycleList());//list-field-assign//sourceId:1192663_1_50529
                    batchQueryCycleStageDataListByIdsComReqDto_1.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:1193350_1_50529
                    batchQueryCycleStageDataListByIdsComReqDto_1.setThemeContentId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:1192666_1_50529
                }
                if (implementParentSubMidCycleTypeComRespDto != null) {
                    batchQueryCycleStageDataListByIdsComReqDto_1.setParentSubMidCycleType(implementParentSubMidCycleTypeComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1192671_1_50529
                }

                /*D3-批量查询周期阶段资料列表（by目标周期ID）[6360]   */
                Assert.isNull(batchQueryCycleStageDataListByIdsComReqDto_1.getThemeContentId(), "D3-查询下级周期阶段资料列表(公共)-D3-批量查询周期阶段资料列表（by目标周期ID）-主题内容ID不能为空", false);
                batchQueryCycleStageDataListByIdsComRespDto_2 = batchQueryCycleStageDataListByIdsCom(batchQueryCycleStageDataListByIdsComReqDto_1)/*vcase invoke 同服务,同domain*/;


                batchQueryCycleStageDataListByIdsComRespDto_1 = batchQueryCycleStageDataListByIdsComRespDto_2;
            }
        }
        QuerySubCycleStageDataListComRespDto retData = new QuerySubCycleStageDataListComRespDto();
        if (batchQueryCycleStageDataListByIdsComRespDto_1 != null) {
            retData.setCycleStageDataList(batchQueryCycleStageDataListByIdsComRespDto_1.getCycleStageDataList().stream().map(item -> BeanUtil.toBean(item, CycleStageDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1192722_1
        }


        return retData;
    }

    /**
     * D3批量存档删除正在编辑周期阶段资料(公共)[7642]
     * gen by moon at 6/9/2024, 1:08:39 AM
     */
    @Trace(operationName = "D3批量存档删除正在编辑周期阶段资料(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchArchiveCycleStageDataComRespDto batchArchiveCycleStageDataCom(BatchArchiveCycleStageDataComReqDto reqDto) {


        //virtualUsage 3-3-11批量查正在编辑的周期阶段资料（用于删除）  51834
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        BatchQueryCycleStageDataListByIdsReq batchQueryCycleStageDataListByIdsReq = new BatchQueryCycleStageDataListByIdsReq();
        batchQueryCycleStageDataListByIdsReq.setSubjectLifeCycle("EDITING");//sourceId:1239592_1_51834
        if (reqDto != null) {
            batchQueryCycleStageDataListByIdsReq.setCycleStageDataList(reqDto.getCycleStageDataList());//list-field-assign//sourceId:1223841_1_51834
            batchQueryCycleStageDataListByIdsReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1223851_1_51834
        }

        /*3-3-11批量查正在编辑的周期阶段资料（用于删除）[4225]   */
        Assert.isNull(batchQueryCycleStageDataListByIdsReq.getSubjectLifeCycle(), "D3批量存档删除正在编辑周期阶段资料(公共)-3-3-11批量查正在编辑的周期阶段资料（用于删除）-主体生命周期不能为空", false);
        Assert.isNull(batchQueryCycleStageDataListByIdsReq.getThemeContentId(), "D3批量存档删除正在编辑周期阶段资料(公共)-3-3-11批量查正在编辑的周期阶段资料（用于删除）-主题内容ID不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.batchQueryCycleStageDataListByIds(batchQueryCycleStageDataListByIdsReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((listOmsTspeCycleStageData != null && listOmsTspeCycleStageData != null && listOmsTspeCycleStageData.size() > 0)) {
            //if(3-3-11批量查正在编辑的周期阶段资料（用于删除）.周期阶段资料列表数据集条数 大于 0)  51457

            boolean bOOLEAN;
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
                List<String> listString = new ArrayList<>();
                if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                    listString = listOmsTspeCycleStageData.stream().map(item -> item.getCycleStageDataId())
                            .collect(Collectors.toList());/*list-to-strings*///sourceId:1223868_1_51458
                }

                /*3-3-11批量删周期阶段资料[4220]   */

                bOOLEAN = mOmsTspeCycleStageDataService.batchDeleteCycleStageData(listString)/*vcase invoke 本地 method 方法调用;*/;


            }
//ModelCode: circulationCollections
            for (OmsTspeCycleStageData circulationCollectionsRes : listOmsTspeCycleStageData) {

                BatchDeleteDocRelOrDocComRespDto batchDeleteDocRelOrDocComRespDto = null;
                BatchDeleteDocRelOrDocComReqDto batchDeleteDocRelOrDocComReqDto = new BatchDeleteDocRelOrDocComReqDto();
                batchDeleteDocRelOrDocComReqDto.setDocUseSceneCode("PLANNING");//sourceId:1857781_1_69807
                batchDeleteDocRelOrDocComReqDto.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1857788_1_69807
                if (circulationCollectionsRes != null) {
                    batchDeleteDocRelOrDocComReqDto.setOwnEntityId(circulationCollectionsRes.getCycleStageDataId());//SimpleFieldAssign//sourceId:1857785_1_69807
                }

                /*D2批量删文档关系或文档(公共)[9755]   */
                Assert.isNull(batchDeleteDocRelOrDocComReqDto.getDocUseSceneCode(), "D3批量存档删除正在编辑周期阶段资料(公共)-D2批量删文档关系或文档(公共)-文档应用业务场景不能为空", false);
                Assert.isNull(batchDeleteDocRelOrDocComReqDto.getOwnEntityId(), "D3批量存档删除正在编辑周期阶段资料(公共)-D2批量删文档关系或文档(公共)-归属内容表主键ID不能为空", false);
                Assert.isNull(batchDeleteDocRelOrDocComReqDto.getSpaceId(), "D3批量存档删除正在编辑周期阶段资料(公共)-D2批量删文档关系或文档(公共)-创建于空间ID不能为空", false);
                batchDeleteDocRelOrDocComRespDto = unstructuredDataService.batchDeleteDocRelOrDocCom(batchDeleteDocRelOrDocComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


//ModelCode: circulationEnd
            }

        }
        BatchArchiveCycleStageDataComRespDto retData = new BatchArchiveCycleStageDataComRespDto();


        return retData;
    }

    /**
     * D3批量查询周期阶段资料列表by目标周期(公共)[7888]
     * gen by moon at 12/10/2024, 4:34:43 PM
     */
    @Trace(operationName = "D3批量查询周期阶段资料列表by目标周期(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryCycleStageDataComRespDto batchQueryCycleStageDataCom(BatchQueryCycleStageDataComReqDto reqDto) {


        List<OmsTspeCycleStageData> listOmsTspeCycleStageData_1 = new ArrayList<>();
//步骤0: 3-3-11批量查询周期阶段资料列表ByIds - batchQueryCycleStageDataListByIds
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        BatchQueryCycleStageDataListByIdsReq batchQueryCycleStageDataListByIdsReq = new BatchQueryCycleStageDataListByIdsReq();
        if (reqDto != null) {
            batchQueryCycleStageDataListByIdsReq.setCycleStageDataList(reqDto.getCycleStageDataList());//list-field-assign//sourceId:1287063_1
            batchQueryCycleStageDataListByIdsReq.setCycleDataObjTypeCode(reqDto.getCycleDataObjTypeCode());//SimpleFieldAssign//sourceId:2035673_1
            batchQueryCycleStageDataListByIdsReq.setStageContentType(reqDto.getStageContentType());//SimpleFieldAssign//sourceId:2035674_1
            batchQueryCycleStageDataListByIdsReq.setBelongToContentId(reqDto.getBelongToContentId());//SimpleFieldAssign//sourceId:1287071_1
            batchQueryCycleStageDataListByIdsReq.setParentSubMidCycleType(reqDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:2035676_1
            batchQueryCycleStageDataListByIdsReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:2035677_1
            batchQueryCycleStageDataListByIdsReq.setSubjectLifeCycle(reqDto.getSubjectLifeCycle());//SimpleFieldAssign//sourceId:1287069_1
            batchQueryCycleStageDataListByIdsReq.setIsArchive(reqDto.getIsArchive());//SimpleFieldAssign//sourceId:2035678_1
            batchQueryCycleStageDataListByIdsReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:2035675_1
            batchQueryCycleStageDataListByIdsReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1287066_1
        }

        /*3-3-11批量查询周期阶段资料列表ByIds[4225]   */
        Assert.isNull(batchQueryCycleStageDataListByIdsReq.getSpaceId(), "D3批量查询周期阶段资料列表by目标周期(公共)-3-3-11批量查询周期阶段资料列表ByIds-创建于空间ID不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.batchQueryCycleStageDataListByIds(batchQueryCycleStageDataListByIdsReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsTspeCycleStageData_1 = listOmsTspeCycleStageData;

        BatchQueryCycleStageDataComRespDto retData = new BatchQueryCycleStageDataComRespDto();
        retData.setCycleStageDataList(listOmsTspeCycleStageData_1.stream().map(item -> BeanUtil.toBean(item, CycleStageDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:1287080_1


        return retData;
    }

    /**
     * D3-执行周期阶段资料存档处理(公共)[8284]
     * gen by moon at 1/8/2024, 4:20:40 AM
     */
    @Trace(operationName = "D3-执行周期阶段资料存档处理(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementArchiveCycleStageDataComRespDto implementArchiveCycleStageDataCom(ImplementArchiveCycleStageDataComReqDto reqDto) {


        //virtualUsage 3-3-11查询周期阶段资料列表（问题总结列表）  59081
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        QueryCycleStageDataListReq queryCycleStageDataListReq = new QueryCycleStageDataListReq();
        queryCycleStageDataListReq.setStageContentType("SUM_OF_PRO");//sourceId:1476640_1_59081
        queryCycleStageDataListReq.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:1476642_1_59081
        queryCycleStageDataListReq.setIsArchive("FALSE");//sourceId:1476649_1_59081
        if (reqDto != null) {
            queryCycleStageDataListReq.setCycleDataObjId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1476644_1_59081
            queryCycleStageDataListReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1476647_1_59081
        }

        /*3-3-11查询周期阶段资料列表（问题总结列表）[2673]   */
        Assert.isNull(queryCycleStageDataListReq.getCycleDataObjId(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（问题总结列表）-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCycleId(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（问题总结列表）-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getStageContentType(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（问题总结列表）-内容性质类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getCyclePurposeTypeCode(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（问题总结列表）-周期资料用途类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq.getIsArchive(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（问题总结列表）-是否存档不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataList(queryCycleStageDataListReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((listOmsTspeCycleStageData != null && listOmsTspeCycleStageData != null && listOmsTspeCycleStageData.size() > 0)) {
            //if(3-3-11查询周期阶段资料列表（问题总结列表）.周期阶段资料列表数据集条数 大于 0)  59082

            boolean bOOLEAN;
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
                List<OmsTspeCycleStageData> listOmsTspeCycleStageData_2 = new ArrayList<>();
                if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                    listOmsTspeCycleStageData_2 = //objList-to-objLists
                            listOmsTspeCycleStageData.stream().map(item -> {
                                OmsTspeCycleStageData elm = new OmsTspeCycleStageData();
                                elm.setCycleStageDataId(item.getCycleStageDataId());//SimpleFieldAssign//sourceId:293060_2_59083
                                elm.setSubjectLifeCycle("ARCHIVING");//sourceId:293061_2_59083
                                elm.setIsArchive("TRUE");//sourceId:293071_2_59083
                                elm.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:293062_2_59083
                                elm.setReleaseInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:293106_2_59083
                                elm.setArchiveInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:293069_2_59083
                                elm.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:293064_2_59083
                                elm.setReleaseTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:293107_2_59083
                                elm.setArchiveTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:293070_2_59083
                                return elm;
                            }).collect(Collectors.toList());//objList-to-objLists//sourceId:1476651_1_59083
                }

                /*3-3-11批量修改周期阶段资料[3342]   */

                bOOLEAN = mOmsTspeCycleStageDataService.batchUpdateCycleStageData(listOmsTspeCycleStageData_2)/*vcase invoke 本地 method 方法调用;*/;


            }
        }
//virtualUsage 3-3-11查询周期阶段资料列表（解决思路列表）  59084
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData_3 = new ArrayList<>();
        QueryCycleStageDataListReq queryCycleStageDataListReq_1 = new QueryCycleStageDataListReq();
        queryCycleStageDataListReq_1.setStageContentType("SOLVING_IDEAS");//sourceId:1476654_1_59084
        queryCycleStageDataListReq_1.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:1476656_1_59084
        queryCycleStageDataListReq_1.setIsArchive("FALSE");//sourceId:1476663_1_59084
        if (reqDto != null) {
            queryCycleStageDataListReq_1.setCycleDataObjId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1476658_1_59084
            queryCycleStageDataListReq_1.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1476661_1_59084
        }

        /*3-3-11查询周期阶段资料列表（解决思路列表）[2673]   */
        Assert.isNull(queryCycleStageDataListReq_1.getCycleDataObjId(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（解决思路列表）-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq_1.getCycleId(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（解决思路列表）-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq_1.getStageContentType(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（解决思路列表）-内容性质类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq_1.getCyclePurposeTypeCode(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（解决思路列表）-周期资料用途类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq_1.getIsArchive(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（解决思路列表）-是否存档不能为空", false);
        listOmsTspeCycleStageData_3 = mOmsTspeCycleStageDataService.queryCycleStageDataList(queryCycleStageDataListReq_1)/*vcase invoke 本地 method 方法调用;*/;


        if ((listOmsTspeCycleStageData_3 != null && listOmsTspeCycleStageData_3 != null && listOmsTspeCycleStageData_3.size() > 0)) {
            //if(3-3-11查询周期阶段资料列表（解决思路列表）.周期阶段资料列表数据集条数 大于 0)  59085

            boolean bOOLEAN_1;
            if (listOmsTspeCycleStageData_3 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_3) && listOmsTspeCycleStageData_3.size() > 0) {
                List<OmsTspeCycleStageData> listOmsTspeCycleStageData_5 = new ArrayList<>();
                if (listOmsTspeCycleStageData_3 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_3) && listOmsTspeCycleStageData_3 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_3)) {
                    listOmsTspeCycleStageData_5 = //objList-to-objLists
                            listOmsTspeCycleStageData_3.stream().map(item -> {
                                OmsTspeCycleStageData elm = new OmsTspeCycleStageData();
                                elm.setCycleStageDataId(item.getCycleStageDataId());//SimpleFieldAssign//sourceId:293060_2_59086
                                elm.setSubjectLifeCycle("ARCHIVING");//sourceId:293061_2_59086
                                elm.setIsArchive("TRUE");//sourceId:293071_2_59086
                                elm.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:293062_2_59086
                                elm.setReleaseInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:293106_2_59086
                                elm.setArchiveInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:293069_2_59086
                                elm.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:293064_2_59086
                                elm.setReleaseTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:293107_2_59086
                                elm.setArchiveTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:293070_2_59086
                                return elm;
                            }).collect(Collectors.toList());//objList-to-objLists//sourceId:1476651_1_59086
                }

                /*3-3-11批量修改周期阶段资料[3342]   */

                bOOLEAN_1 = mOmsTspeCycleStageDataService.batchUpdateCycleStageData(listOmsTspeCycleStageData_5)/*vcase invoke 本地 method 方法调用;*/;


            }
        }
//virtualUsage 3-3-11查询周期阶段资料列表（改进建议列表）  59087
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData_6 = new ArrayList<>();
        QueryCycleStageDataListReq queryCycleStageDataListReq_2 = new QueryCycleStageDataListReq();
        queryCycleStageDataListReq_2.setStageContentType("RE_FOR_IMP");//sourceId:1476667_1_59087
        queryCycleStageDataListReq_2.setCyclePurposeTypeCode("OBS_TAR_REP");//sourceId:1476669_1_59087
        queryCycleStageDataListReq_2.setIsArchive("FALSE");//sourceId:1476676_1_59087
        if (reqDto != null) {
            queryCycleStageDataListReq_2.setCycleDataObjId(reqDto.getEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:1476671_1_59087
            queryCycleStageDataListReq_2.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1476674_1_59087
        }

        /*3-3-11查询周期阶段资料列表（改进建议列表）[2673]   */
        Assert.isNull(queryCycleStageDataListReq_2.getCycleDataObjId(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（改进建议列表）-周期资料归属对象ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq_2.getCycleId(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（改进建议列表）-周期ID不能为空", false);
        Assert.isNull(queryCycleStageDataListReq_2.getStageContentType(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（改进建议列表）-内容性质类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq_2.getCyclePurposeTypeCode(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（改进建议列表）-周期资料用途类型编码不能为空", false);
        Assert.isNull(queryCycleStageDataListReq_2.getIsArchive(), "D3-执行周期阶段资料存档处理(公共)-3-3-11查询周期阶段资料列表（改进建议列表）-是否存档不能为空", false);
        listOmsTspeCycleStageData_6 = mOmsTspeCycleStageDataService.queryCycleStageDataList(queryCycleStageDataListReq_2)/*vcase invoke 本地 method 方法调用;*/;


        if ((listOmsTspeCycleStageData_6 != null && listOmsTspeCycleStageData_6 != null && listOmsTspeCycleStageData_6.size() > 0)) {
            //if(3-3-11查询周期阶段资料列表（改进建议列表）.周期阶段资料列表数据集条数 大于 0)  59088

            boolean bOOLEAN_2;
            if (listOmsTspeCycleStageData_6 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_6) && listOmsTspeCycleStageData_6.size() > 0) {
                List<OmsTspeCycleStageData> listOmsTspeCycleStageData_8 = new ArrayList<>();
                if (listOmsTspeCycleStageData_6 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_6) && listOmsTspeCycleStageData_6 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_6)) {
                    listOmsTspeCycleStageData_8 = //objList-to-objLists
                            listOmsTspeCycleStageData_6.stream().map(item -> {
                                OmsTspeCycleStageData elm = new OmsTspeCycleStageData();
                                elm.setCycleStageDataId(item.getCycleStageDataId());//SimpleFieldAssign//sourceId:293060_2_59089
                                elm.setSubjectLifeCycle("ARCHIVING");//sourceId:293061_2_59089
                                elm.setIsArchive("TRUE");//sourceId:293071_2_59089
                                elm.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:293062_2_59089
                                elm.setReleaseInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:293106_2_59089
                                elm.setArchiveInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:293069_2_59089
                                elm.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:293064_2_59089
                                elm.setReleaseTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:293107_2_59089
                                elm.setArchiveTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:293070_2_59089
                                return elm;
                            }).collect(Collectors.toList());//objList-to-objLists//sourceId:1476651_1_59089
                }

                /*3-3-11批量修改周期阶段资料[3342]   */

                bOOLEAN_2 = mOmsTspeCycleStageDataService.batchUpdateCycleStageData(listOmsTspeCycleStageData_8)/*vcase invoke 本地 method 方法调用;*/;


            }
        }
        ImplementArchiveCycleStageDataComRespDto retData = new ImplementArchiveCycleStageDataComRespDto();


        return retData;
    }

    /**
     * D3-查询任务周期阶段资料详情(公共)[8326]
     * gen by moon at 9/15/2024, 12:13:04 PM
     */
    @Trace(operationName = "D3-查询任务周期阶段资料详情(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryWorkTaskCycleStageDataDetailComRespDto queryWorkTaskCycleStageDataDetailCom(QueryWorkTaskCycleStageDataDetailComReqDto reqDto) {


        OmsTspeCycleStageData omsTspeCycleStageData_1 = null;
        OmsBizAppHypertextContent omsBizAppHypertextContent_1 = null;
//virtualUsage 3-3-11查周期阶段资料详情  59993
        OmsTspeCycleStageData omsTspeCycleStageData = null;
        QueryCycleStageDataDetailReq queryCycleStageDataDetailReq = new QueryCycleStageDataDetailReq();
        queryCycleStageDataDetailReq.setIsArchive("FALSE");//sourceId:1965637_1_59993
        queryCycleStageDataDetailReq.setSpaceId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecSpaceId());//CURRENT_SPACEID//sourceId:1495538_1_59993
        if (reqDto != null) {
            queryCycleStageDataDetailReq.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1495536_1_59993
        }

        /*3-3-11查周期阶段资料详情[2771]   */
        Assert.isNull(queryCycleStageDataDetailReq.getIsArchive(), "D3-查询任务周期阶段资料详情(公共)-3-3-11查周期阶段资料详情-是否存档不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getSpaceId(), "D3-查询任务周期阶段资料详情(公共)-3-3-11查周期阶段资料详情-创建于空间ID不能为空", false);
        omsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataDetail(queryCycleStageDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsTspeCycleStageData_1 = omsTspeCycleStageData;
//virtualUsage 3-5-02查询业务应用超文本内容详情  60000
        OmsBizAppHypertextContent omsBizAppHypertextContent = null;
        QueryBusAppHypertextContentDetailReq queryBusAppHypertextContentDetailReq = new QueryBusAppHypertextContentDetailReq();
        if (reqDto != null) {
            queryBusAppHypertextContentDetailReq.setReleationContId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1495530_1_60000
        }

        /*3-5-02查询业务应用超文本内容详情[3140]   */

        omsBizAppHypertextContent = mOmsBizAppHypertextContentService.queryBusAppHypertextContentDetail(queryBusAppHypertextContentDetailReq)/*vcase invoke 本地 method 方法调用;*/;


        omsBizAppHypertextContent_1 = omsBizAppHypertextContent;
        QueryWorkTaskCycleStageDataDetailComRespDto retData = new QueryWorkTaskCycleStageDataDetailComRespDto();
        if (omsTspeCycleStageData_1 != null) {
            retData.setCycleStageDataId(omsTspeCycleStageData_1.getCycleStageDataId());//SimpleFieldAssign//sourceId:1495549_1
            retData.setCycleDataObjId(omsTspeCycleStageData_1.getCycleDataObjId());//SimpleFieldAssign//sourceId:1495550_1
            retData.setTextSummaryData(omsTspeCycleStageData_1.getTextSummaryData());//SimpleFieldAssign//sourceId:1965640_1
            retData.setCycleId(omsTspeCycleStageData_1.getCycleId());//SimpleFieldAssign//sourceId:2001924_1
            retData.setCycleStandardName(omsTspeCycleStageData_1.getCycleStandardName());//SimpleFieldAssign//sourceId:2001925_1
            retData.setOperateTime(omsTspeCycleStageData_1.getOperateTime());//SimpleFieldAssign//sourceId:2002028_1
        }
        if (omsBizAppHypertextContent_1 != null) {
            retData.setHypertextContent(omsBizAppHypertextContent_1.getHypertextContent());//SimpleFieldAssign//sourceId:1495548_1
        }


        return retData;
    }

    /**
     * D3查询最新汇报资料列表(公共)[9894]
     * gen by moon at 9/5/2024, 10:08:57 PM
     */
    @Trace(operationName = "D3查询最新汇报资料列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryNewestReportCycleStageDataListComRespDto queryNewestReportCycleStageDataListCom(QueryNewestReportCycleStageDataListComReqDto reqDto) {


        List<OmsTspeCycleStageData> listOmsTspeCycleStageData_1 = new ArrayList<>();
        List<OmsTask> listOmsTask_1 = new ArrayList<>();
//步骤0: M3执行第十一接收字段（特殊方法） - implementElevenReceivingField
        //ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes = null;
        ImplementElevenReceivingFieldReqDto receptionServiceReq = new ImplementElevenReceivingFieldReqDto();
        if (reqDto != null) {
            receptionServiceReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1908282_1
            receptionServiceReq.setBelongToContentTypeCode(reqDto.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:1908556_1
            receptionServiceReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1908284_1
            receptionServiceReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1908288_1
        }

        /*M3接收入参字段[9482]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getCycleId(), "D3查询最新汇报资料列表(公共)-M3接收入参字段-周期ID不能为空", false);
        Assert.isNull(receptionServiceReq.getThemeContentId(), "D3查询最新汇报资料列表(公共)-M3接收入参字段-主题内容ID不能为空", false);
        Assert.isNull(receptionServiceReq.getSpaceId(), "D3查询最新汇报资料列表(公共)-M3接收入参字段-创建于空间ID不能为空", false);
        receptionServiceRes = nbCycleStageData.implementElevenReceivingField(receptionServiceReq);


//步骤1: 3-4-04查询周期详情 - queryCycleDetail
        OmsCycle omsCycle = null;
        QueryCycleDetailReq queryCycleDetailReq = new QueryCycleDetailReq();
        queryCycleDetailReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1908256_1
        if (reqDto != null) {
            queryCycleDetailReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1908255_1
        }

        /*3-4-04查询周期详情[2004]   */
        Assert.isNull(queryCycleDetailReq.getCycleId(), "D3查询最新汇报资料列表(公共)-3-4-04查询周期详情-周期ID不能为空", false);
        Assert.isNull(queryCycleDetailReq.getSubjectLifeCycle(), "D3查询最新汇报资料列表(公共)-3-4-04查询周期详情-主体生命周期不能为空", false);
        omsCycle = mOmsCycleService.queryCycleDetail(queryCycleDetailReq)/*vcase invoke 本地 method 方法调用;*/;


//步骤2: 3-3-11查询周期阶段资料By起止时间列表 - queryCycleStageDataByStartAndEndTimeList
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        if (omsCycle != null) {
            QueryCycleStageDataByStartAndEndTimeListReq queryCycleStageDataByStartAndEndTimeListReq = new QueryCycleStageDataByStartAndEndTimeListReq();
            queryCycleStageDataByStartAndEndTimeListReq.setCycleDataTypeCode("CYC_STA_DAT");//sourceId:1907973_1
            queryCycleStageDataByStartAndEndTimeListReq.setStageContentType("STA_WOR_SUM_CON");//sourceId:1907974_1
            queryCycleStageDataByStartAndEndTimeListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1907976_1
            if (omsCycle != null) {
                queryCycleStageDataByStartAndEndTimeListReq.setCycleStartTime(omsCycle.getCycleStartTime());//SimpleFieldAssign//sourceId:1907970_1
                queryCycleStageDataByStartAndEndTimeListReq.setCycleEndTime(omsCycle.getCycleEndTime());//SimpleFieldAssign//sourceId:1907971_1
            }
            if (reqDto != null) {
                queryCycleStageDataByStartAndEndTimeListReq.setBelongToContentTypeCode(reqDto.getBelongToContentTypeCode());//SimpleFieldAssign//sourceId:1908554_1
                queryCycleStageDataByStartAndEndTimeListReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1907975_1
                queryCycleStageDataByStartAndEndTimeListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1907977_1
            }

            /*3-3-11查询周期阶段资料By起止时间列表[9893]   */
            Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getCycleStartTime(), "D3查询最新汇报资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-周期开始时间不能为空", false);
            Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getCycleEndTime(), "D3查询最新汇报资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-周期结束时间不能为空", false);
            Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getCycleDataTypeCode(), "D3查询最新汇报资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-周期阶段资料类型编码不能为空", false);
            Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getStageContentType(), "D3查询最新汇报资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-内容性质类型编码不能为空", false);
            Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getThemeContentId(), "D3查询最新汇报资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-主题内容ID不能为空", false);
            Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getSubjectLifeCycle(), "D3查询最新汇报资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-主体生命周期不能为空", false);
            Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getSpaceId(), "D3查询最新汇报资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-创建于空间ID不能为空", false);
            listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataByStartAndEndTimeList(queryCycleStageDataByStartAndEndTimeListReq)/*vcase invoke 本地 method 方法调用;*/;


            listOmsTspeCycleStageData_1 = listOmsTspeCycleStageData;
        }

//步骤3: 3-7-01批量查任务列表 - batchQueryTask
        List<OmsTask> listOmsTask = new ArrayList<>();
        if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
            BatchQueryTaskReq batchQueryTaskReq = new BatchQueryTaskReq();
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                batchQueryTaskReq.setReportingTaskList(listOmsTspeCycleStageData.stream().map(item -> item.getTaskId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1908290_1
            }
            if (reqDto != null) {
                batchQueryTaskReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1908305_1
                batchQueryTaskReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1908303_1
            }

            /*3-7-01批量查任务列表[2566]   */
            Assert.isNull(batchQueryTaskReq.getThemeContentId(), "D3查询最新汇报资料列表(公共)-3-7-01批量查任务列表-主题内容ID不能为空", false);
            Assert.isNull(batchQueryTaskReq.getSpaceId(), "D3查询最新汇报资料列表(公共)-3-7-01批量查任务列表-创建于空间ID不能为空", false);
            listOmsTask = mOmsTaskService.batchQueryTask(batchQueryTaskReq)/*vcase invoke 本地 method 方法调用;*/;


            listOmsTask_1 = listOmsTask;
        }

        QueryNewestReportCycleStageDataListComRespDto retData = new QueryNewestReportCycleStageDataListComRespDto();
        //数据集融合  MoreListToOneSource
        if (listOmsTspeCycleStageData_1 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1) && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1)) {
            for (OmsTspeCycleStageData omsTspeCycleStageData : listOmsTspeCycleStageData_1) {
                CycleStageDataDto retElm = new CycleStageDataDto();
                retElm.setCycleStageDataId(omsTspeCycleStageData.getCycleStageDataId());//SimpleFieldAssign//sourceId:384530_2
                retElm.setParentSubMidCycleType(omsTspeCycleStageData.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:384532_2
                retElm.setCycleDataObjId(omsTspeCycleStageData.getCycleDataObjId());//SimpleFieldAssign//sourceId:384533_2
                retElm.setWorkCycleUpdateSlice(omsTspeCycleStageData.getWorkCycleUpdateSlice());//SimpleFieldAssign//sourceId:385857_2
                retElm.setCycleId(omsTspeCycleStageData.getCycleId());//SimpleFieldAssign//sourceId:384531_2
                retElm.setBelongToContentId(omsTspeCycleStageData.getBelongToContentId());//SimpleFieldAssign//sourceId:384534_2
                retElm.setTaskId(omsTspeCycleStageData.getTaskId());//SimpleFieldAssign//sourceId:384535_2
                retElm.setOperateTime(omsTspeCycleStageData.getOperateTime());//SimpleFieldAssign//sourceId:384536_2
                retData.getCycleStageDataList().add(retElm);
                if (listOmsTask_1 != null && !CollectionUtil.isEmpty(listOmsTask_1)) {
                    for (OmsTask omsTask : listOmsTask_1) {
                        if (omsTask.getTaskId().equals(omsTspeCycleStageData.getTaskId())) {
                            retElm.setTaskName(omsTask.getTaskName());//SimpleFieldAssign//sourceId:384537_2
                        }
                    }
                }

            }
        }//sourceId:1908307_1


// TODO: 2023/11/13 手写代码
        retData.setPageNum(1);
        retData.setPageSize(10);
        retData.setTotalNum(10);
        return retData;
    }

    /**
     * D3分析下级全部汇报完成(公共)[9990]
     * gen by moon at 7/20/2024, 11:05:52 PM
     */
    @Trace(operationName = "D3分析下级全部汇报完成(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public AnalysisAllSubordinatesHaveCompletedReportComRespDto analysisAllSubordinatesHaveCompletedReportCom(AnalysisAllSubordinatesHaveCompletedReportComReqDto reqDto) {


        ImplementElevenReceivingFieldRespDto receptionServiceRes_3 = null;
//virtualUsage M3-约定是否默认勾选“汇报完成”  71801
        //ModelCode: receptionService
        ImplementElevenReceivingFieldRespDto receptionServiceRes = null;
        ImplementElevenReceivingFieldReqDto receptionServiceReq = new ImplementElevenReceivingFieldReqDto();
        receptionServiceReq.setComNumField1(Long.valueOf(0));//CUSTOM_CONVENTION//sourceId:1943428_1_71801
        receptionServiceReq.setComNumField2(Long.valueOf(1));//CUSTOM_CONVENTION//sourceId:1943427_1_71801

        /*M3-约定是否默认勾选“汇报完成”[9482]  用于特殊方法接收上游入参。 */
        Assert.isNull(receptionServiceReq.getComNumField1(), "D3分析下级全部汇报完成(公共)-M3-约定是否默认勾选“汇报完成”-通用数值字段1（整数型）不能为空", false);
        Assert.isNull(receptionServiceReq.getComNumField2(), "D3分析下级全部汇报完成(公共)-M3-约定是否默认勾选“汇报完成”-通用数值字段2（整数型）不能为空", false);
        receptionServiceRes = nbCycleStageData.implementElevenReceivingField(receptionServiceReq);


//virtualUsage 3-3-11查周期阶段资料详情  71783
        OmsTspeCycleStageData omsTspeCycleStageData = null;
        QueryCycleStageDataDetailReq queryCycleStageDataDetailReq = new QueryCycleStageDataDetailReq();
        if (reqDto != null) {
            queryCycleStageDataDetailReq.setCycleStageDataId(reqDto.getCycleStageDataId());//SimpleFieldAssign//sourceId:1942793_1_71783
            queryCycleStageDataDetailReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1942794_1_71783
        }

        /*3-3-11查周期阶段资料详情[2771]   */
        Assert.isNull(queryCycleStageDataDetailReq.getCycleStageDataId(), "D3分析下级全部汇报完成(公共)-3-3-11查周期阶段资料详情-周期阶段资料记录ID不能为空", false);
        Assert.isNull(queryCycleStageDataDetailReq.getThemeContentId(), "D3分析下级全部汇报完成(公共)-3-3-11查周期阶段资料详情-主题内容ID不能为空", false);
        omsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataDetail(queryCycleStageDataDetailReq)/*vcase invoke 本地 method 方法调用;*/;
        Assert.isTrue(omsTspeCycleStageData == null || omsTspeCycleStageData.getCycleStageDataId() == null, "找不到数据，系统异常", false);


//virtualUsage 3-3-09-07查询非末级指标是否末级周期  71790
        OmsTargetAttributionCycle omsTargetAttributionCycle = null;
        if (omsTspeCycleStageData != null) {
            QueryTargetBelongCycleByGeStartAndLeEndTimeDetailReq queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq = new QueryTargetBelongCycleByGeStartAndLeEndTimeDetailReq();
            if (reqDto != null) {
                queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1943033_1_71790
                queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1943038_1_71790
            }
            if (omsTspeCycleStageData != null) {
                queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.setCycleId(omsTspeCycleStageData.getCycleId());//SimpleFieldAssign//sourceId:1943034_1_71790
                queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.setParentSubMidCycleType(omsTspeCycleStageData.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1943035_1_71790
                queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.setFromContentEntityId(omsTspeCycleStageData.getCycleStageDataId());//SimpleFieldAssign//sourceId:1943036_1_71790
                queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.setEntityId(omsTspeCycleStageData.getCycleDataObjId());//SimpleFieldAssign//sourceId:1943037_1_71790
            }

            /*3-3-09-07查询非末级指标是否末级周期[9578]   */
            Assert.isNull(queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.getEvaObjTypeCode(), "D3分析下级全部汇报完成(公共)-3-3-09-07查询非末级指标是否末级周期-主树被评对象类型编码不能为空", false);
            Assert.isNull(queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.getCycleId(), "D3分析下级全部汇报完成(公共)-3-3-09-07查询非末级指标是否末级周期-归属周期ID不能为空", false);
            Assert.isNull(queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.getParentSubMidCycleType(), "D3分析下级全部汇报完成(公共)-3-3-09-07查询非末级指标是否末级周期-父子中过程周期类型不能为空", false);
            Assert.isNull(queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.getFromContentEntityId(), "D3分析下级全部汇报完成(公共)-3-3-09-07查询非末级指标是否末级周期-来自内容表主键ID不能为空", false);
            Assert.isNull(queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.getEntityId(), "D3分析下级全部汇报完成(公共)-3-3-09-07查询非末级指标是否末级周期-归属内容表主键ID不能为空", false);
            Assert.isNull(queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq.getEvaluationTemplateId(), "D3分析下级全部汇报完成(公共)-3-3-09-07查询非末级指标是否末级周期-冗余评价模板ID不能为空", false);
            omsTargetAttributionCycle = mOmsTargetAttributionCycleService.queryTargetBelongCycleByGeStartAndLeEndTimeDetail(queryTargetBelongCycleByGeStartAndLeEndTimeDetailReq)/*vcase invoke 本地 method 方法调用;*/;
            Assert.isTrue(omsTargetAttributionCycle == null || omsTargetAttributionCycle.getIsLastCycle() == null, "找不到数据，系统异常", false);


        }
        if ((omsTargetAttributionCycle != null && omsTargetAttributionCycle.getIsLastCycle() != null && omsTargetAttributionCycle.getIsLastCycle().equals("FALSE"))) {
            //if(3-3-09-07查询非末级指标是否末级周期.是否末级周期 等于 否)  71791

//异常结束 71792
            throw new BizException("3300330400499", "对不起，当前汇报不是末级周期汇报任务！～。", false);
        }
//virtualUsage D4-执行父子中周期类型分析(公共)  71788
        ImplementParentSubMidCycleTypeAnalysisComRespDto implementParentSubMidCycleTypeAnalysisComRespDto = null;
        if (omsTspeCycleStageData != null) {
            ImplementParentSubMidCycleTypeAnalysisComReqDto implementParentSubMidCycleTypeAnalysisComReqDto = new ImplementParentSubMidCycleTypeAnalysisComReqDto();
            if (omsTspeCycleStageData != null) {
                implementParentSubMidCycleTypeAnalysisComReqDto.setParentSubMidCycleType(omsTspeCycleStageData.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1942908_1_71788
                implementParentSubMidCycleTypeAnalysisComReqDto.setCycleId(omsTspeCycleStageData.getCycleId());//SimpleFieldAssign//sourceId:1942907_1_71788
            }

            /*D4-执行父子中周期类型分析(公共)[6228]   */
            Assert.isNull(implementParentSubMidCycleTypeAnalysisComReqDto.getParentSubMidCycleType(), "D3分析下级全部汇报完成(公共)-D4-执行父子中周期类型分析(公共)-父子中周期类型不能为空", false);
            Assert.isNull(implementParentSubMidCycleTypeAnalysisComReqDto.getCycleId(), "D3分析下级全部汇报完成(公共)-D4-执行父子中周期类型分析(公共)-周期ID不能为空", false);
            implementParentSubMidCycleTypeAnalysisComRespDto = fwCalcStandardDataClient.implementParentSubMidCycleTypeAnalysisCom(implementParentSubMidCycleTypeAnalysisComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage 3-3-09-07查询目标内容目标归属周期列表  71787
        List<OmsTargetAttributionCycle> listOmsTargetAttributionCycle = new ArrayList<>();
        if (implementParentSubMidCycleTypeAnalysisComRespDto != null && omsTspeCycleStageData != null) {
            QueryTargetContentBelongCycleListReq queryTargetContentBelongCycleListReq = new QueryTargetContentBelongCycleListReq();
            if (reqDto != null) {
                queryTargetContentBelongCycleListReq.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:1942894_1_71787
                queryTargetContentBelongCycleListReq.setEvaluationTemplateId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1942898_1_71787
            }
            if (implementParentSubMidCycleTypeAnalysisComRespDto != null) {
                queryTargetContentBelongCycleListReq.setCycleId(implementParentSubMidCycleTypeAnalysisComRespDto.getCycleId());//SimpleFieldAssign//sourceId:1942895_1_71787
                queryTargetContentBelongCycleListReq.setParentSubMidCycleType(implementParentSubMidCycleTypeAnalysisComRespDto.getParentSubMidCycleType());//SimpleFieldAssign//sourceId:1942896_1_71787
            }
            if (omsTspeCycleStageData != null) {
                queryTargetContentBelongCycleListReq.setParentEvaObjTargetCycleId(omsTspeCycleStageData.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1942897_1_71787
            }

            /*3-3-09-07查询目标内容目标归属周期列表[9446]   */
            Assert.isNull(queryTargetContentBelongCycleListReq.getEvaObjTypeCode(), "D3分析下级全部汇报完成(公共)-3-3-09-07查询目标内容目标归属周期列表-主树被评对象类型编码不能为空", false);
            Assert.isNull(queryTargetContentBelongCycleListReq.getCycleId(), "D3分析下级全部汇报完成(公共)-3-3-09-07查询目标内容目标归属周期列表-归属周期ID不能为空", false);
            Assert.isNull(queryTargetContentBelongCycleListReq.getParentSubMidCycleType(), "D3分析下级全部汇报完成(公共)-3-3-09-07查询目标内容目标归属周期列表-父子中过程周期类型不能为空", false);
            Assert.isNull(queryTargetContentBelongCycleListReq.getParentEvaObjTargetCycleId(), "D3分析下级全部汇报完成(公共)-3-3-09-07查询目标内容目标归属周期列表-上级被评对象目标周期标识不能为空", false);
            Assert.isNull(queryTargetContentBelongCycleListReq.getEvaluationTemplateId(), "D3分析下级全部汇报完成(公共)-3-3-09-07查询目标内容目标归属周期列表-冗余评价模板ID不能为空", false);
            listOmsTargetAttributionCycle = mOmsTargetAttributionCycleService.queryTargetContentBelongCycleList(queryTargetContentBelongCycleListReq)/*vcase invoke 本地 method 方法调用;*/;
            Assert.isTrue(listOmsTargetAttributionCycle == null || CollectionUtil.isEmpty(listOmsTargetAttributionCycle) || listOmsTargetAttributionCycle == null || CollectionUtil.isEmpty(listOmsTargetAttributionCycle) || listOmsTargetAttributionCycle.size() == 0, "找不到数据，系统异常", false);


        }
//virtualUsage 3-3-11批量查周期阶段资料  71789
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        if (listOmsTargetAttributionCycle != null && !CollectionUtil.isEmpty(listOmsTargetAttributionCycle) && listOmsTargetAttributionCycle.size() > 0) {
            BatchQueryCycleStageDataReq batchQueryCycleStageDataReq = new BatchQueryCycleStageDataReq();
            batchQueryCycleStageDataReq.setIsActualReceptionCycle("TRUE");//sourceId:1942926_1_71789
            if (listOmsTargetAttributionCycle != null && !CollectionUtil.isEmpty(listOmsTargetAttributionCycle) && listOmsTargetAttributionCycle != null && !CollectionUtil.isEmpty(listOmsTargetAttributionCycle)) {
                batchQueryCycleStageDataReq.setCycleStageDataList(listOmsTargetAttributionCycle.stream().map(item -> item.getFromContentEntityId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1942911_1_71789
            }
            if (reqDto != null) {
                batchQueryCycleStageDataReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:1942927_1_71789
            }

            /*3-3-11批量查周期阶段资料[2778]   */
            Assert.isNull(batchQueryCycleStageDataReq.getIsActualReceptionCycle(), "D3分析下级全部汇报完成(公共)-3-3-11批量查周期阶段资料-是否实际验收周期不能为空", false);
            Assert.isNull(batchQueryCycleStageDataReq.getThemeContentId(), "D3分析下级全部汇报完成(公共)-3-3-11批量查周期阶段资料-主题内容ID不能为空", false);
            listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.batchQueryCycleStageData(batchQueryCycleStageDataReq)/*vcase invoke 本地 method 方法调用;*/;


        }
//virtualUsage D2统计数据集内容条数服务(公共)  71793
        CalculateContentAmountComRespDto calculateContentAmountComRespDto = null;
        if (listOmsTargetAttributionCycle != null && !CollectionUtil.isEmpty(listOmsTargetAttributionCycle) && listOmsTargetAttributionCycle.size() > 0) {
            CalculateContentAmountComReqDto calculateContentAmountComReqDto = new CalculateContentAmountComReqDto();
            if (listOmsTargetAttributionCycle != null && !CollectionUtil.isEmpty(listOmsTargetAttributionCycle) && listOmsTargetAttributionCycle != null && !CollectionUtil.isEmpty(listOmsTargetAttributionCycle)) {
                calculateContentAmountComReqDto.setContentAmountList(listOmsTargetAttributionCycle.stream().map(item -> item.getFromContentEntityId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1943040_1_71793
            }

            /*D2统计数据集内容条数服务(公共)[3386]   */

            calculateContentAmountComRespDto = fwCompStatisticalDataClient.calculateContentAmountCom(calculateContentAmountComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D2统计数据集内容条数服务(公共)  71794
        CalculateContentAmountComRespDto calculateContentAmountComRespDto_2 = null;
        if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
            CalculateContentAmountComReqDto calculateContentAmountComReqDto_1 = new CalculateContentAmountComReqDto();
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                calculateContentAmountComReqDto_1.setContentAmountList(listOmsTspeCycleStageData.stream().map(item -> item.getCycleStageDataId())
                        .collect(Collectors.toList()));/*list-to-strings*///sourceId:1943040_1_71794
            }

            /*D2统计数据集内容条数服务(公共)[3386]   */

            calculateContentAmountComRespDto_2 = fwCompStatisticalDataClient.calculateContentAmountCom(calculateContentAmountComReqDto_1).getData()/*vcase invoke 跨dubbo调用;*/;


        }
//virtualUsage D2执行两个数值对比大小(公共)  71795
        ImplementNumericalContrastMagnitudeComRespDto implementNumericalContrastMagnitudeComRespDto = null;
        if (calculateContentAmountComRespDto != null && calculateContentAmountComRespDto_2 != null) {
            ImplementNumericalContrastMagnitudeComReqDto implementNumericalContrastMagnitudeComReqDto = new ImplementNumericalContrastMagnitudeComReqDto();
            if (calculateContentAmountComRespDto != null) {
                implementNumericalContrastMagnitudeComReqDto.setCalcPara1(calculateContentAmountComRespDto.getCalcCount() != null ? Double.valueOf(calculateContentAmountComRespDto.getCalcCount()) : null);//SimpleFieldAssign//sourceId:1943042_1_71795
            }
            if (calculateContentAmountComRespDto_2 != null) {
                implementNumericalContrastMagnitudeComReqDto.setCalcPara2(calculateContentAmountComRespDto_2.getCalcCount() != null ? Double.valueOf(calculateContentAmountComRespDto_2.getCalcCount()) : null);//SimpleFieldAssign//sourceId:1943043_1_71795
            }

            /*D2执行两个数值对比大小(公共)[5551]   */
            Assert.isNull(implementNumericalContrastMagnitudeComReqDto.getCalcPara1(), "D3分析下级全部汇报完成(公共)-D2执行两个数值对比大小(公共)-计算入参1不能为空", false);
            Assert.isNull(implementNumericalContrastMagnitudeComReqDto.getCalcPara2(), "D3分析下级全部汇报完成(公共)-D2执行两个数值对比大小(公共)-计算入参2不能为空", false);
            implementNumericalContrastMagnitudeComRespDto = interfaceModeService.implementNumericalContrastMagnitudeCom(implementNumericalContrastMagnitudeComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        }
        if ((implementNumericalContrastMagnitudeComRespDto != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("PRESENT"))) {
            //if(D2执行两个数值对比大小(公共).数值比较结果 等于 当前（等于）)  71796

//ModelCode: receptionService
            ImplementElevenReceivingFieldRespDto receptionServiceRes_2 = null;
            ImplementElevenReceivingFieldReqDto receptionServiceReq_1 = new ImplementElevenReceivingFieldReqDto();
            if (receptionServiceRes != null) {
                receptionServiceReq_1.setComNumField(receptionServiceRes.getComNumField2());//SimpleFieldAssign//sourceId:1943806_1_71802
            }

            /*M3接收是否完成汇报[9482]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_1.getComNumField(), "D3分析下级全部汇报完成(公共)-M3接收是否完成汇报-通用数值字段（整数型）不能为空", false);
            receptionServiceRes_2 = nbCycleStageData.implementElevenReceivingField(receptionServiceReq_1);


            receptionServiceRes_3 = receptionServiceRes_2;
        } else if ((implementNumericalContrastMagnitudeComRespDto != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("BEFORE") || implementNumericalContrastMagnitudeComRespDto != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult() != null && implementNumericalContrastMagnitudeComRespDto.getNumCompareResult().equals("LATER"))) {
            //elseif((D2执行两个数值对比大小(公共).数值比较结果 等于 之前（小于） or D2执行两个数值对比大小(公共).数值比较结果 等于 之后（大于）))  71798

//ModelCode: receptionService
            ImplementElevenReceivingFieldRespDto receptionServiceRes_4 = null;
            ImplementElevenReceivingFieldReqDto receptionServiceReq_2 = new ImplementElevenReceivingFieldReqDto();
            if (receptionServiceRes != null) {
                receptionServiceReq_2.setComNumField(receptionServiceRes.getComNumField1());//SimpleFieldAssign//sourceId:1943806_1_71803
            }

            /*M3接收是否完成汇报[9482]  用于特殊方法接收上游入参。 */
            Assert.isNull(receptionServiceReq_2.getComNumField(), "D3分析下级全部汇报完成(公共)-M3接收是否完成汇报-通用数值字段（整数型）不能为空", false);
            receptionServiceRes_4 = nbCycleStageData.implementElevenReceivingField(receptionServiceReq_2);


            receptionServiceRes_3 = receptionServiceRes_4;
        } else {
            //else  71799

//异常结束 71800
            throw new BizException("C00029", "对不起，异常错误，不可操作～！", false);
        }
        AnalysisAllSubordinatesHaveCompletedReportComRespDto retData = new AnalysisAllSubordinatesHaveCompletedReportComRespDto();
        if (receptionServiceRes_3 != null) {
            retData.setDoDefaultReportCompletion(receptionServiceRes_3.getComNumField());//SimpleFieldAssign//sourceId:1943808_1
        }


        return retData;
    }

    /**
     * D3查询汇报任务周期阶段资料列表(公共)[10208]
     * gen by moon at 3/28/2025, 5:36:18 PM
     */
    @Trace(operationName = "D3查询汇报任务周期阶段资料列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryReportTaskCycleStageDataListComRespDto queryReportTaskCycleStageDataListCom(QueryReportTaskCycleStageDataListComReqDto reqDto) {


        List<OmsTspeCycleStageData> listOmsTspeCycleStageData_1 = new ArrayList<>();
        List<OmsCycle> listOmsCycle_1 = new ArrayList<>();
//virtualUsage 3-3-11批量查周期阶段资料  72765
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        BatchQueryCycleStageDataReq batchQueryCycleStageDataReq = new BatchQueryCycleStageDataReq();
        if (reqDto != null) {
            batchQueryCycleStageDataReq.setCycleStageDataList(reqDto.getCycleStageDataList());//list-field-assign//sourceId:1993761_1_72765
            batchQueryCycleStageDataReq.setEvaObjTargetCycleCode(reqDto.getEvaObjTargetCycleCode());//SimpleFieldAssign//sourceId:1993777_1_72765
            batchQueryCycleStageDataReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:1993776_1_72765
            batchQueryCycleStageDataReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:1993765_1_72765
        }

        /*3-3-11批量查周期阶段资料[2778]   */
        Assert.isNull(batchQueryCycleStageDataReq.getSpaceId(), "D3查询汇报任务周期阶段资料列表(公共)-3-3-11批量查周期阶段资料-创建于空间ID不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.batchQueryCycleStageData(batchQueryCycleStageDataReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsTspeCycleStageData_1 = listOmsTspeCycleStageData;
        if ((listOmsTspeCycleStageData != null && listOmsTspeCycleStageData != null && listOmsTspeCycleStageData.size() > 0)) {
            //if(3-3-11批量查周期阶段资料.周期阶段资料列表数据集条数 大于 0)  72768

            List<OmsCycle> listOmsCycle = new ArrayList<>();
            if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData.size() > 0) {
                BatchQueryCycleReq batchQueryCycleReq = new BatchQueryCycleReq();
                batchQueryCycleReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:1993780_1_72769
                if (listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData) && listOmsTspeCycleStageData != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData)) {
                    batchQueryCycleReq.setCycleList(listOmsTspeCycleStageData.stream().map(item -> item.getCycleId())
                            .collect(Collectors.toList()));/*list-to-strings*///sourceId:1993778_1_72769
                }

                /*3-4-04批量查周期列表[2249]   */
                Assert.isNull(batchQueryCycleReq.getSubjectLifeCycle(), "D3查询汇报任务周期阶段资料列表(公共)-3-4-04批量查周期列表-主体生命周期不能为空", false);
                listOmsCycle = mOmsCycleService.batchQueryCycle(batchQueryCycleReq)/*vcase invoke 本地 method 方法调用;*/;


                listOmsCycle_1 = listOmsCycle;
            }
        }
        QueryReportTaskCycleStageDataListComRespDto retData = new QueryReportTaskCycleStageDataListComRespDto();
        //数据集融合  MoreListToOneSource
        if (listOmsTspeCycleStageData_1 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1) && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1)) {
            for (OmsTspeCycleStageData omsTspeCycleStageData : listOmsTspeCycleStageData_1) {
                CycleStageDataDto retElm = new CycleStageDataDto();
                retElm.setCycleStageDataId(omsTspeCycleStageData.getCycleStageDataId());//SimpleFieldAssign//sourceId:415062_2
                retElm.setCycleId(omsTspeCycleStageData.getCycleId());//SimpleFieldAssign//sourceId:415063_2
                retElm.setCycleStandardName(omsTspeCycleStageData.getCycleStandardName());//SimpleFieldAssign//sourceId:415064_2
                retElm.setNewCycleEndTime(omsTspeCycleStageData.getCycleEndTime());//SimpleFieldAssign//sourceId:433435_2
                retElm.setIsDoneFilleout(omsTspeCycleStageData.getIsDoneFilleout());//SimpleFieldAssign//sourceId:415066_2
                retElm.setIsDoneEvaluate(omsTspeCycleStageData.getIsDoneEvaluate());//SimpleFieldAssign//sourceId:415065_2
                retElm.setIsPlanReceptionCycle(omsTspeCycleStageData.getIsPlanReceptionCycle());//SimpleFieldAssign//sourceId:415067_2
                retData.getCycleStageDataList().add(retElm);
                if (listOmsCycle_1 != null && !CollectionUtil.isEmpty(listOmsCycle_1)) {
                    for (OmsCycle omsCycle : listOmsCycle_1) {
                        if (omsCycle.getCycleId().equals(omsTspeCycleStageData.getCycleId())) {
                            retElm.setCycleStartTime(omsCycle.getCycleStartTime());//SimpleFieldAssign//sourceId:415068_2
                            retElm.setCycleEndTime(omsCycle.getCycleEndTime());//SimpleFieldAssign//sourceId:415069_2
                            retElm.setCycleTypeCode(omsCycle.getCycleTypeCode());//SimpleFieldAssign//sourceId:415070_2
                            retElm.setCycleTypeName(omsCycle.getCycleTypeName());//SimpleFieldAssign//sourceId:415071_2
                            retElm.setCycleNumberShortName(omsCycle.getCycleNumberShortName());//SimpleFieldAssign//sourceId:415072_2
                            retElm.setCycleTypeInstanceCode(omsCycle.getCycleTypeInstanceCode());//SimpleFieldAssign//sourceId:415073_2
                        }
                    }
                }

            }
        }//sourceId:1993787_1


        return retData;
    }

    /**
     * D3执行回写周期阶段资料(公共)[10251]
     * gen by moon at 10/5/2024, 1:37:59 PM
     */
    @Trace(operationName = "D3执行回写周期阶段资料(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public ImplementRewriteCycleStageDataComRespDto implementRewriteCycleStageDataCom(ImplementRewriteCycleStageDataComReqDto reqDto) {


        //virtualUsage 3-3-09-07查询目标内容目标归属周期列表  73111
        List<OmsTargetAttributionCycle> listOmsTargetAttributionCycle = new ArrayList<>();
        QueryTargetContentBelongCycleListReq queryTargetContentBelongCycleListReq = new QueryTargetContentBelongCycleListReq();
        if (reqDto != null) {
            queryTargetContentBelongCycleListReq.setEvaObjEntityId(reqDto.getEvaObjEntityId());//SimpleFieldAssign//sourceId:2014852_1_73111
            queryTargetContentBelongCycleListReq.setEvaObjTypeCode(reqDto.getEvaObjTypeCode());//SimpleFieldAssign//sourceId:2014853_1_73111
            queryTargetContentBelongCycleListReq.setCycleId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:2014854_1_73111
            queryTargetContentBelongCycleListReq.setEntityId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:2014855_1_73111
            queryTargetContentBelongCycleListReq.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:2014856_1_73111
            queryTargetContentBelongCycleListReq.setSpaceId(reqDto.getSpaceId());//SimpleFieldAssign//sourceId:2014857_1_73111
        }

        /*3-3-09-07查询目标内容目标归属周期列表[9446]   */
        Assert.isNull(queryTargetContentBelongCycleListReq.getEvaObjEntityId(), "D3执行回写周期阶段资料(公共)-3-3-09-07查询目标内容目标归属周期列表-主树被评对象内容表主键ID不能为空", false);
        Assert.isNull(queryTargetContentBelongCycleListReq.getEvaObjTypeCode(), "D3执行回写周期阶段资料(公共)-3-3-09-07查询目标内容目标归属周期列表-主树被评对象类型编码不能为空", false);
        Assert.isNull(queryTargetContentBelongCycleListReq.getCycleId(), "D3执行回写周期阶段资料(公共)-3-3-09-07查询目标内容目标归属周期列表-归属周期ID不能为空", false);
        Assert.isNull(queryTargetContentBelongCycleListReq.getEntityId(), "D3执行回写周期阶段资料(公共)-3-3-09-07查询目标内容目标归属周期列表-归属内容表主键ID不能为空", false);
        Assert.isNull(queryTargetContentBelongCycleListReq.getEvaluationTemplateId(), "D3执行回写周期阶段资料(公共)-3-3-09-07查询目标内容目标归属周期列表-冗余评价模板ID不能为空", false);
        Assert.isNull(queryTargetContentBelongCycleListReq.getSpaceId(), "D3执行回写周期阶段资料(公共)-3-3-09-07查询目标内容目标归属周期列表-创建于空间ID不能为空", false);
        listOmsTargetAttributionCycle = mOmsTargetAttributionCycleService.queryTargetContentBelongCycleList(queryTargetContentBelongCycleListReq)/*vcase invoke 本地 method 方法调用;*/;


        if ((listOmsTargetAttributionCycle != null && listOmsTargetAttributionCycle != null && listOmsTargetAttributionCycle.size() > 0)) {
            //if(3-3-09-07查询目标内容目标归属周期列表.目标归属周期列表数据集条数 大于 0)  73112

            boolean bOOLEAN;
            if (listOmsTargetAttributionCycle != null && !CollectionUtil.isEmpty(listOmsTargetAttributionCycle) && listOmsTargetAttributionCycle.size() > 0) {
                List<OmsTargetAttributionCycle> listOmsTargetAttributionCycle_2 = new ArrayList<>();
                if (listOmsTargetAttributionCycle != null && !CollectionUtil.isEmpty(listOmsTargetAttributionCycle) && listOmsTargetAttributionCycle != null && !CollectionUtil.isEmpty(listOmsTargetAttributionCycle)) {
                    listOmsTargetAttributionCycle_2 = //objList-to-objLists
                            listOmsTargetAttributionCycle.stream().map(item -> {
                                OmsTargetAttributionCycle elm = new OmsTargetAttributionCycle();
                                elm.setTargetAttributionCycleId(item.getTargetAttributionCycleId());//SimpleFieldAssign//sourceId:422281_2_73113
                                elm.setOperationInductionId(CommonFunctionHelper.getBaseInfoFromLocal().getSpecInductionRecordId());//CURRENT_INDUCTIONID//sourceId:422284_2_73113
                                elm.setOperateTime(CommonFunctionHelper.getCurrentTime());//SYSTEM_CURRENT_TIME//sourceId:422285_2_73113
                                if (reqDto != null) {
                                    elm.setFromContentTableTypeCode(reqDto.getFromContentTableTypeCode());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:422282_2_73113
                                    elm.setFromContentEntityId(reqDto.getFromContentEntityId());//两个数组关联数量不一致; 导致逐个赋值; 有概率付错值; //SimpleFieldAssign//sourceId:422283_2_73113
                                }
                                return elm;
                            }).collect(Collectors.toList());//objList-to-objLists//sourceId:2014859_1_73113
                }

                /*3-3-09-07批量改目标归属周期[9445]   */

                bOOLEAN = mOmsTargetAttributionCycleService.batchUpdateTargetBelongCycle(listOmsTargetAttributionCycle_2)/*vcase invoke 本地 method 方法调用;*/;


            }
        }
//virtualUsage D4执行回写标准数据周期阶段资料ID(公共)  73114
        ImplementRewirteCycleStageDataIdComRespDto implementRewirteCycleStageDataIdComRespDto = null;
        ImplementRewirteCycleStageDataIdComReqDto implementRewirteCycleStageDataIdComReqDto = new ImplementRewirteCycleStageDataIdComReqDto();
        if (reqDto != null) {
            implementRewirteCycleStageDataIdComReqDto.setPeriodId(reqDto.getCycleId());//SimpleFieldAssign//sourceId:2014880_1_73114
            implementRewirteCycleStageDataIdComReqDto.setEvaObjTargetCycleId(reqDto.getEntityId());//SimpleFieldAssign//sourceId:2014881_1_73114
            implementRewirteCycleStageDataIdComReqDto.setCycleStageDataId(reqDto.getFromContentEntityId());//SimpleFieldAssign//sourceId:2014878_1_73114
            implementRewirteCycleStageDataIdComReqDto.setEvaluationTemplateId(reqDto.getEvaluationTemplateId());//SimpleFieldAssign//sourceId:2014883_1_73114
        }

        /*D4执行回写标准数据周期阶段资料ID(公共)[10212]   */
        Assert.isNull(implementRewirteCycleStageDataIdComReqDto.getPeriodId(), "D3执行回写周期阶段资料(公共)-D4执行回写标准数据周期阶段资料ID(公共)-周期ID不能为空", false);
        Assert.isNull(implementRewirteCycleStageDataIdComReqDto.getEvaObjTargetCycleId(), "D3执行回写周期阶段资料(公共)-D4执行回写标准数据周期阶段资料ID(公共)-被评对象目标周期ID不能为空", false);
        Assert.isNull(implementRewirteCycleStageDataIdComReqDto.getCycleStageDataId(), "D3执行回写周期阶段资料(公共)-D4执行回写标准数据周期阶段资料ID(公共)-周期阶段资料记录ID不能为空", false);
        Assert.isNull(implementRewirteCycleStageDataIdComReqDto.getEvaluationTemplateId(), "D3执行回写周期阶段资料(公共)-D4执行回写标准数据周期阶段资料ID(公共)-冗余评价模板ID不能为空", false);
        implementRewirteCycleStageDataIdComRespDto = fwCalcStandardDataClient.implementRewirteCycleStageDataIdCom(implementRewirteCycleStageDataIdComReqDto).getData()/*vcase invoke 跨dubbo调用;*/;


        ImplementRewriteCycleStageDataComRespDto retData = new ImplementRewriteCycleStageDataComRespDto();


        return retData;
    }

    /**
     * D3批量查询周期阶段资料列表ByIds(公共)[10281]
     * gen by moon at 10/22/2024, 1:38:12 PM
     */
    @Trace(operationName = "D3批量查询周期阶段资料列表ByIds(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public BatchQueryCycleStageDataListByMainIdsComRespDto batchQueryCycleStageDataListByMainIdsCom(BatchQueryCycleStageDataListByMainIdsComReqDto reqDto) {


        List<OmsTspeCycleStageData> listOmsTspeCycleStageData_1 = new ArrayList<>();
//步骤0: 3-3-11批量查周期阶段资料 - batchQueryCycleStageData
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        BatchQueryCycleStageDataReq batchQueryCycleStageDataReq = new BatchQueryCycleStageDataReq();
        batchQueryCycleStageDataReq.setIsArchive("FALSE");//sourceId:2021938_1
        if (reqDto != null) {
            batchQueryCycleStageDataReq.setCycleStageDataList(reqDto.getCycleStageDataList());//list-field-assign//sourceId:2021931_1
        }

        /*3-3-11批量查周期阶段资料[2778]   */
        Assert.isNull(batchQueryCycleStageDataReq.getIsArchive(), "D3批量查询周期阶段资料列表ByIds(公共)-3-3-11批量查周期阶段资料-是否存档不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.batchQueryCycleStageData(batchQueryCycleStageDataReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsTspeCycleStageData_1 = listOmsTspeCycleStageData;

        BatchQueryCycleStageDataListByMainIdsComRespDto retData = new BatchQueryCycleStageDataListByMainIdsComRespDto();
        retData.setCycleStageDataList(listOmsTspeCycleStageData_1.stream().map(item -> BeanUtil.toBean(item, CycleStageDataDto.class)).collect(Collectors.toList()));//objList-to-objLists//sourceId:2021949_1


        return retData;
    }

    /**
     * D3查询下级已验收的周期阶段资料列表(公共)[10375]
     * gen by moon at 11/11/2024, 7:51:12 PM
     */
    @Trace(operationName = "D3查询下级已验收的周期阶段资料列表(公共)")
    @Tags({@Tag(key = "参数", value = "arg[0]"),
            @Tag(key = "返回值", value = "returnedObj")})
    @Transactional(rollbackFor = Exception.class)
    @Override
    public QueryLowEndCycleStageDataListComRespDto queryLowEndCycleStageDataListCom(QueryLowEndCycleStageDataListComReqDto reqDto) {


        List<OmsTspeCycleStageData> listOmsTspeCycleStageData_1 = new ArrayList<>();
//步骤0: 3-3-11查询周期阶段资料By起止时间列表 - queryCycleStageDataByStartAndEndTimeList
        List<OmsTspeCycleStageData> listOmsTspeCycleStageData = new ArrayList<>();
        QueryCycleStageDataByStartAndEndTimeListReq queryCycleStageDataByStartAndEndTimeListReq = new QueryCycleStageDataByStartAndEndTimeListReq();
        queryCycleStageDataByStartAndEndTimeListReq.setSubjectLifeCycle("CURRENTLY_VALID");//sourceId:2027644_1
        if (reqDto != null) {
            queryCycleStageDataByStartAndEndTimeListReq.setParentEvaObjTargetCycleId(reqDto.getParentEvaObjTargetCycleId());//SimpleFieldAssign//sourceId:2027642_1
            queryCycleStageDataByStartAndEndTimeListReq.setIsActualReceptionCycle(reqDto.getIsActualReceptionCycle());//SimpleFieldAssign//sourceId:2027649_1
            queryCycleStageDataByStartAndEndTimeListReq.setCycleStartTime(reqDto.getCycleStartTime());//SimpleFieldAssign//sourceId:2027640_1
            queryCycleStageDataByStartAndEndTimeListReq.setCycleEndTime(reqDto.getCycleEndTime());//SimpleFieldAssign//sourceId:2027641_1
            queryCycleStageDataByStartAndEndTimeListReq.setThemeContentId(reqDto.getThemeContentId());//SimpleFieldAssign//sourceId:2027643_1
        }

        /*3-3-11查询周期阶段资料By起止时间列表[9893]   */
        Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getParentEvaObjTargetCycleId(), "D3查询下级已验收的周期阶段资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-上级被评对象目标周期标识不能为空", false);
        Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getIsActualReceptionCycle(), "D3查询下级已验收的周期阶段资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-是否实际验收周期不能为空", false);
        Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getCycleStartTime(), "D3查询下级已验收的周期阶段资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-周期开始时间不能为空", false);
        Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getCycleEndTime(), "D3查询下级已验收的周期阶段资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-周期结束时间不能为空", false);
        Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getThemeContentId(), "D3查询下级已验收的周期阶段资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-主题内容ID不能为空", false);
        Assert.isNull(queryCycleStageDataByStartAndEndTimeListReq.getSubjectLifeCycle(), "D3查询下级已验收的周期阶段资料列表(公共)-3-3-11查询周期阶段资料By起止时间列表-主体生命周期不能为空", false);
        listOmsTspeCycleStageData = mOmsTspeCycleStageDataService.queryCycleStageDataByStartAndEndTimeList(queryCycleStageDataByStartAndEndTimeListReq)/*vcase invoke 本地 method 方法调用;*/;


        listOmsTspeCycleStageData_1 = listOmsTspeCycleStageData;

        QueryLowEndCycleStageDataListComRespDto retData = new QueryLowEndCycleStageDataListComRespDto();
        if (listOmsTspeCycleStageData_1 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1) && listOmsTspeCycleStageData_1 != null && !CollectionUtil.isEmpty(listOmsTspeCycleStageData_1)) {
            retData.setCycleStageDataList(listOmsTspeCycleStageData_1.stream().map(item -> item.getCycleStageDataId())
                    .collect(Collectors.toList()));/*list-to-strings*///sourceId:2027656_1
        }


        return retData;
    }

    //
}
